How to set Mandatory field based on Resolution field value ?

How to achieve setting the Mandatory field based on Resolution field value ?

Currently we are using Cloud JIRA.

3 answers

0 vote
Joe Pitt Community Champion May 09, 2016

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.

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

 

Joe Pitt Community Champion May 09, 2016

As I said, since you're in the cloud version I believe you're out of luck

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

764 views 2 19
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you