microsoft / microsoft/process-migrator
Picklist import error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 113
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
the problem still occurs
Call stack:Error: You must provide a value for the Items parameter.
at RestClient.<anonymous> (..\process-migrator\node_modules\typed-rest-client\RestClient.js:173:31)
at Generator.next (<anonymous>)
at fulfilled (..\process-migrator\node_modules\typed-rest-client\RestClient.js:6:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[ERROR] [2024-05-16T21:08:15.023Z] Import failed, see log file for details. Failed to create picklist for field Custom.ImpattineiProcessi, see logs for details.
{
"referenceName": "Custom.ImpattineiProcessi",
"name": "Impatti nei Processi",
"type": 1,
"pickList": {
"id": "xxxx",
"name": "picklist_8aefa033-e26e-41db-94d4-370bb3990c50",
"type": "String",
"isSuggested": true,
"url": "https://xxxxxxxx.visualstudio.com/_apis/work/processDefinitions/lists/15fa5a9e-82e2-4a28-ba98-788de8dc84d9"
},
"readOnly": false,
"required": false,
"defaultValue": null,
"url": "https://xxxxxxxx.visualstudio.com/_apis/work/processDefinitions/c710705b-e398-4cbc-bf23-af1a9795c364/workItemTypes/NPF-Workflow.Feature/fields/Custom.ImpattineiProcessi",
"allowGroups": null
},
#11
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported call stack in node_modules/typed-rest-client/RestClient.js and compare it with the picklist field JSON and the import logs. Reproduce the import to identify why the Items parameter is missing; done means the Custom.ImpattineiProcessi picklist is created successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100