I have a need for a field to be Mandatory when an issue is moved from 1 issue type to another however the field should not be mandatory if a new issue is created directly.

For example:

I require a "Considered Response" field to be mandatory when moving a T3 Incident issue type to be a Defect issue type.

I do not require this information, and it would not be known, if a user is creating a Defect issue type directly in the project.

Is this possible, and if so how would I best achieve this?

Many thanks in advance

2 answers

1 accepted

0 votes

Field configurations are flat. If a field is mandatory for an issue, it is mandatory. So you can't do it.

What you could do is have different workflows for each issue type, and place "field is mandatory on transition" validators on them. This would not stop someone moving an Incident to a Defect, but they would not be able to transition through any workflow until the field was filled in (obviously, you don't validate the field on "create defect")

Since you want the customfield only to be mandatory on certain transition, you can try using the Jira Suite Utilities and add the Fields Required Workflow Validator on the transition where you are moving the T3 Incident Issue Type to the defect Issue Type.

Hope this helps!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,859 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot