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
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
Posted 7 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

25 views 0 4
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