How to achieve setting the Mandatory field based on Resolution field value ?
Currently we are using Cloud JIRA.
Thanks @Joe Pitt. Yes, I'm looking for the same transition.
For Eg: If Resolution Field is marked as Fixed, then some custom fields should be mandatory. For other option it can be normal.
Workflow shouldn't allow users to change the issue status to Resolved unless they updated the mandatory custom fields which ever we are setting as mandatory. (when resolution is marked as Fixed).
- Kavi
As I said, since you're in the cloud version I believe you're out of luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There may be a solution if you use a listener (I've never used one). You need to look at the resolution being set and then require the fields. All other solutions require the resolution to be set BEFORE the transition is made. The work around is to have multiple transitions AFTER the resolution is set, each one with the condition of the resolution field and requiring the fields with JSU or other plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does anyone got it work. Root Cause field required based on Resolution field value selection to "Fixed". In the transition form if user select "Fixed" for Resolution field then Root Cause field should set to required otherwise no. How I can achieve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Curious how to do the same...
"Require a custom field ONLY upon selection of Resolution 'Fixed'."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I want to do the same. Can someone guide me how to write correct the validator?
We are using internal JIRA
Version 7.0.11
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am looking into this issue now. We use on-prem server. I can see in the workflow validator where I can fields to be required, but how do I condition that based on the resolution? We want 5 custom fields to be required only if a particular resolution is set, else they can be left blank.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are trying to require them on the same screen as setting the resolution I don't believe you can. The resolution value won't be set until AFTER the transition is complete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you need to set it in the same transition where you set the resolution I believe you're out of luck since cloud doesn't allow scripting. If you want to do it after that transition you can use a combination of validators and post functions, which are available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.