microsoft / microsoft/process-migrator

Custom Completed State Category - Fails during migration/import

Open
#83 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
113
Forks
61
PR merge metrics
No merged PRs in 30d

Description

We have created a custom value for the 'Completed' State Category. This fails with the following error message when running the process-migrator:

[VERBOSE] [2023-07-14T07:58:42.397Z] Exception message:VS403093: Team Services currently does not support changes to 'Completed' category. Choose a different category.
Call stack:Error: VS403093: Team Services currently does not support changes to 'Completed' category. Choose a different category.
    at RestClient.<anonymous> (C:\Users\Test\AppData\Roaming\npm\node_modules\process-migrator\node_modules\typed-rest-client\RestClient.js:173:31)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\Test\AppData\Roaming\npm\node_modules\process-migrator\node_modules\typed-rest-client\RestClient.js:6:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[ERROR] [2023-07-14T07:58:42.398Z] Import failed, see log file for details. Unable to create/hide/update state 'Approved' in 'business_layer.Milestone' work item type, see logs for details

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report identifies process-migrator's migration/import path and shows the failure through typed-rest-client while creating or updating the 'Approved' state in business_layer.Milestone. Start by locating the state-category handling and reproducing the import with a custom 'Completed' category; done means the import completes without VS403093 and preserves the intended state configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.