Hello!
I've been searching endlessly on how to incorporate validated post functions into a transition, but haven't found anything in the forums that has applied to our situation.
What we would like to do is have a transition that:
- if coming from status xxx, automatically updates a field (resolution) and only requires the user to comment on the transition screen
- else, the resolution and comment fields presented on the transition screen are required
I know how to set a conditional based on the status a ticket is coming from using Groovy:
issue.status.statusCategory == "xxx"
However, I'm having trouble with the other aspects mentioned above (field update, required input).