Worktype attributes and workflow
I cant find out how to create workitem with attributes by workflow. Is it possible? I don't see corresponding property here https://www.jetbrains.com/help/youtrack/devportal/v1-IssueWorkItem.html
Please sign in to leave a comment.
Hi!
I'm Sergey from the YouTrack team.
Thank you for contacting us. I'm happy to help you.
Custom work item attributes are not supported in workflows currently. We have a related feature request in our public tracker: https://youtrack.jetbrains.com/issue/JT-70255/Support-custom-attributes-for-work-items-in-workflows. Please feel free to vote for this issue. This helps us gauge how much impact this feature will have on our customer base, and you’ll also get subscribed to the issue’s notifications. To do so, sign in to JetBrains YouTrack and hit a thumbs-up icon.
Yes, it would be great since that prevent us from using this feature at all
Hi Sergey Merzlov is it still true that i we have a work item attribute as example for Approval of each work Item , we can not access the attributes from the workflow.
One usage is that only project leader can approve or reject workItems so we will need to validate who updated the workItem.
also we could have compliance metric for approved and rejected workItem.
Is this still not accessible or is this fixed cause we are 10 months after this post.
Kyriakos Pavlidis in my initial reply, you can see a link to the issue from our public tracker: https://youtrack.jetbrains.com/issue/JT-70255/Support-custom-attributes-for-work-items-in-workflows. This issue is not resolved (i.e., Open), which means that the functionality has not been implemented.
Hello,
IssueWorkItem properties like duration and type are writable. Where can I find usage examples? Thanks.
Hello,
The documentation lists all public entities in the workflow API and provides supported properties and methods, where you can see where you can utilize issueWorkItem. One of them is the Issue entity, and for example, you can do something like that:
But if i understand well not the custom ones if you set a custom one that does not currently exist out of the box we will have to wait the update to come to cover this.