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 vote

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
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...

81 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