I am looking to customize JIRA workflow transition based on the value of custom fields associated only with sub-task of that issue, any suggestions please?
If it is sufficient to have a validator to do this then I can offer another solution. A condition will not show the transition at all, but with a validator solution, the transition will appear and when attempted can indicate an error message to the user if the custom field is not set correctly. This is good if the user has the opportunity to set the custom field value on the transition screen. If not, it is annoying to the user to see a transition that is not valid .
Remember, anything you write may not work with the next release. Another option would be to look for a plugin that will set a field in the parent task when something is set in the subtask. Also, keep in mind that there may be multiple subtasks. Even if that isn't intended, a user may do it so your code needs to be able to handle it or add code to prohibit creating a subtask if one already exists for the issue.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs