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

Accepted Answer
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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,960 views 2 7
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