Query Work Items Follow
I need to add a stateless rule to our workflow which pertains to Work types. It is not clear to me how to accomplish this. At our company, we use time estimation and tracking. Developers use "Development" work type, QA uses "Testing" work type, etc.... We want to require users to enter time before transitioning from one step to the next (e.g. from development to testing to documentation), but it is not clear to how check if total time spent associated with a particular work type is greater than zero. Any ideas?
The rules I need:
When transitioning to coded: ensure development time spent > 0
When transitioning to verified: ensure testing time spent > 0
When transitioning to documented: ensure documentation time spent > 0
I do not see from the documentation how to query work items at all.
Please sign in to leave a comment.
Work items are not yet support, as I mentioned in the another thread, I'm truly sorry.
Do you guys have any plans to implement this?
It's not planned for the next release, but maybe the one after that would have this feature.
Any update on this? Have you guys had a chance to make a decision regarding getting it into a future version?
Sorry Ryan, we are currently focused on the next release and not yet a planning for a features in the version after that.
Yes query on work items would already help a lot here as well. +1
I am trying to do something very similar to this in workflow. Has this feature been added yet?
Hello Eric and others,
Work items are now accessible from workflows. That means you can check issue work items and their types (please refer to the IssueWorkItem entity: https://www.jetbrains.com/help/youtrack/incloud/v1-IssueWorkItem.html#methods) and apply required logic based on that information.
Please let me know if you have any questions.