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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

77 views 0 5
Read article

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