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

Set Child Work Item Field fails if there is a deployment task child of a PBI #14

Open
stutton opened this issue Sep 24, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@stutton
Copy link
Owner

stutton commented Sep 24, 2018

Error when submitting a test doc that tries to set the PBI's child items to Code Complete if one of the children is a Deployment Task which cannot be set to code complete.
Message: The field 'State' contains the value 'Code Complete' that is not in the list of supported values.
Session ID: 1b349d4f-41cd-493a-890c-15916d9e1f16

@stutton stutton self-assigned this Sep 24, 2018
@stutton stutton added the bug Something isn't working label Oct 2, 2018
@mrbcmorris
Copy link
Contributor

What's the correct solution on this? It seems like on the SetChildWorkItemField we would want to specify the type of work items? But even in doing so, I don't see a way to limit the WorkItemFields query to a specific work item type which can always lead to incorrect configuration.

What about giving the user more power to specify the Work Item Type of the children being updated in the automation step and providing a report of automation success for each action taken rather than causing faults if TFS rejects something?

@stutton
Copy link
Owner Author

stutton commented Jan 28, 2019

Probably specifying the child work item type in the template would be the most flexible. You could add multiple instances of the automation for different child types.

Would also be cool if we could get the valid values for fields like State and put them in a drop down. I think you'll get a similar error if you misspell 'In Progress' or something.

I had plans to have a more detailed progress indicator when finishing a document but I never got around to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants