How to make the 'Component/s' field required only for a certain issue type screen?

Quality Assurance Traffic July 22, 2018

I want the "Component/s" field mandatory only for certain issue type screens. Not when I'm creating an "Epic".

I've created a separate screen scheme for Epic, and associated Epic issue type with different screen scheme, but didn't work.

The scenario I wanted to implement is that multiple Bugs / Suggestions / Concerns / New Features should appear in Epic. Whereas, Component/s field is required to mark the Bugs / Suggestions / Concerns / New Features.

Attached are the snapshots. Is it possible that the Component/s field would become non-mandatory whenever I'll create Epic?

Any help will be appreciated!

 

Thanks

Snapshot-1.jpgSnapshot-2.jpgSnapshot-3.jpgSnapshot-4.jpgSnapshot-5.jpg

 Snapshot-1.jpg 

1 answer

1 accepted

2 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2018

Jira's mandatory/optional flag is not done in screens.  The field configurations hold the flag.

What you need to do is have two field configurations, one with the component set mandatory, and the other without it.  You then use a "field configuration scheme" to say the Epics use the scheme where it is optional, and the other issue types use the one where it is mandatory.

Quality Assurance Traffic July 22, 2018

Thanks Nic for your prompt response.

Just like that?

Snapshot-6.jpg

What else need to be done?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2018

Yes, you're nearly there.  You need two field configurations, then tie them together and apply it to the project with a field configuration scheme.

Quality Assurance Traffic July 23, 2018

Thanks, that worked!

Like Sahil Gupta likes this
Guiomar
Contributor
November 16, 2020

Hi there,

 

How did you do this last step?

I configured two field configurations to have Component mandatory in one of them and the other one to have it Optional. Now what I don't find it is how to assign it to Epic type in the optional case via the field configuration scheme. Can you help?

 

Thank you,

Guiomar

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 16, 2020

You set it as optional or mandatory in a field configuration, then tell the project to use that field configuration for Epics in the field configuration scheme.

Like Guiomar likes this
Guiomar
Contributor
November 16, 2020

Thanks, Nic. 

I was not finding the Associate an issue type with a field configuration button.

Worked!

Suggest an answer

Log in or Sign up to answer