microsoft / microsoft/process-migrator

Unrecognized value 'whenCurrentUserIsNotMemberOfGroup' for property condition.conditionType.

Open
#62 0 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

I'm running a migration, the process.log says:

[VERBOSE] [2021-09-21T21:12:19.564Z] Begin step 'Create rule 'd6707080-f015-4711-8f04-136373a3966c' in work item type 'Test.Blazers''.
[VERBOSE] [2021-09-21T21:12:19.826Z] Exception message:VS1640105: Unrecognized value 'whenCurrentUserIsNotMemberOfGroup' for property condition.conditionType.
Call stack:Error: VS1640105: Unrecognized value 'whenCurrentUserIsNotMemberOfGroup' for property condition.conditionType.
    at RestClient.<anonymous> (/Users/mauriciohernandez/Documents/projects/az-devops/process-templates/process-migrator-lambda/process-migrator/node_modules/azure-devops-node-api/node_modules/typed-rest-client/RestClient.js:173:31)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/user/Documents/projects/epam/bayer/az-devops/process-templates/process-migrator-lambda/process-migrator/node_modules/azure-devops-node-api/node_modules/typed-rest-client/RestClient.js:6:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

and the process.json says:

{
        "conditionType": "whenCurrentUserIsNotMemberOfGroup",
        "field": null,
        "value": "f61824ac-44b2-42b2-be41-bd715dc04534"
}

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

Start with the migration log and the process.json condition containing conditionType "whenCurrentUserIsNotMemberOfGroup"; trace how this value is handled during rule creation. Confirm the expected condition value and verify that the migration no longer reports VS1640105 for this process.json input.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.