This question is in reference to Atlassian Documentation: How to make JIRA applications fields required in a workflow transition
I created a Workflow like the standard JIRA Workflow. When an issue gets resolved, I want to require that the Resolution field is set. I do not want to require this for other transitions. In my Workflow, I went to the two transitions that go to Resolved, and added a Validator that made the Resolution field required. I did not add a Validator to any other Transition.
After that, I went to an issue and did "Start Progress" (this Transition is from Open to In Progress), and it brought up the Edit Item screen, as expected. I made some changes, left the Resolution field unselected, and tried to save, but it showed an error that said the Resolution field is required. I do not understand why it says the field is required. I expected that it would only be required during one of the transitions to Resolved. Any idea what I should do?
So I need the Resolution field to be on the Edit Item screen sometimes, but not always. For example, if an issue moves from Open to In Progress, I want to show the Edit Item screen, but I do not want the Resolution field to be required. Do I need to create 2 separate Edit Item screens?
NEVER on the edit screen. It isn't a field that should be edited like other fields. It should be set during a transition. Like Nic said, put it on the transition screen. If it is displayed it is required; that is why it should only be displayed on a transition screen in the transition you want it set.
Will I need 2 Screen Schemes? I have 1 now, and it looks like I can only tie 3 screens to it - 1 for Create Issue, 1 for Edit Issue, and 1 for View Issue. I think I need that Edit Issue screen to stay like it is, with no Resolution, because there are times I want to edit an issue without giving a Resolution.
So I will make a new screen called "Transition Screen", and add the Resolution field to it, but I am not sure what to do after that. (Sorry for my ignorance, I am new to JIRA and trying to learn!)
The screen used in transitions aren't part of the screen scheme. I have a basic screen I use for most issues that has the resolution and comment field only. I capture the date and current user and use a post function to save them to custom fields 'Resolution Date' and 'Resolved By' for easy reference that only appear on the view screen.
You're nearly there. There is a fourth place to use screens in JIRA - in the workflow.
You need your "resolve issue" screen to be used on any transitions that go from an "open" type status to a closed type (e.g. the resolve or close transitions). Then, I'd strongly recommend a post-function for "set resolution to none" on transitions going from closed to open
What transition screen are you using on Open to In Progress transition ?
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot