I have two "ending" states: Done and Rejected. I have several Resolutions, including Done, Won't Do, Duplicate, and Can't Reproduce.
When an issue is transitioned to Done, I have a Post-Function that will set the Resolution to Done.
When an issue is transitioned to Rejected, I open the Resolve Issue Screen where the user, among other things, can select a Resolution.
Is there a way to ensure that a user cannot transition to Rejected and then select a Resolution of Done? I only want them to be able to select Won't Do, Duplicate or Can't Reproduce. I looked at the transition's Validators but none of them seemed to match what I'm looking for.
You should restrict resolutions on the status level. That would be out of the box. Just add status property
You can read more here
What if I add another resolution that is acceptable when transitioning to Done? Basically I want to say:
If transitioning to Done, here are your available Resolutions (Work Completed, Fixed Externally, ...)
If transitioning to Rejected, here are your available Resolutions (Won't Do, Duplicate, ...)
I suggest you always use the jira.field.resolution.include option, not the exclude one. That way if you need to add another resolution not applicable to the transition you won't need to update all the transitions you don't want it to apply to. From my experience once you determine the resolutions you want for a particular issue type and transition they seldom change but new issue types with associated resolutions will grow.
I don't know where to find jira.field.resolution.include. I'm using Jira Cloud, and looking at this page https://confluence.atlassian.com/adminjiracloud/workflow-properties-776636709.html but I can't see where I can edit jira.field.resolution.include and I'm also not sure what value to set there. @Alexey Matveev [cPrime] said "1, 2, 3" which I guess are resolution ID numbers? If so, where do I get them from?
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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