Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove tag feature doesn't work #92

Closed
skysb opened this issue Oct 8, 2021 · 1 comment
Closed

Remove tag feature doesn't work #92

skysb opened this issue Oct 8, 2021 · 1 comment

Comments

@skysb
Copy link

skysb commented Oct 8, 2021

In the build pipeline, I have added the step of workitem updater in the following manner:

- task: WorkItemUpdater@2
  displayName: 'Update workitems to release'
  inputs:
    workitemsSource: "Build"
    workItemType: Task
    workitemLimit: "500"
    workItemState: 'Ready to Test'
    workItemCurrentState: 'Active,New,Review'
    removeTags: 'PR Merged'
    updateAssignedTo: Always
    updateAssignedToWith: Unassigned

The items attached to the build should have the PR Merged tag removed but it didnt.

This is the logs from the build:

2021-10-08T12:43:06.3891016Z Found WorkItem: 13019
2021-10-08T12:43:06.3892152Z Updating WorkItem 13019
2021-10-08T12:43:06.3893207Z Patch: /fields/System.State Ready to Test
2021-10-08T12:43:06.3893550Z Patch: /fields/System.AssignedTo undefined
2021-10-08T12:43:06.3894363Z Patch: /fields/System.Tags 
2021-10-08T12:43:06.5585492Z WorkItem 13019 updated

and here is a screenshot of the item with the tag still there:

Screenshot 2021-10-08 145352

Is there anything missing or done incorrectly?
Cheers
Sky

@BlueBasher
Copy link
Owner

This should work again with the latest version. It was fixed in #87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants