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



I would like the default 'Component/s' field to be required only for a certain issue type or a specific screen.

Is that possible?



3 answers

2 votes
Tarun Sapra Community Champion Aug 14, 2016

Please add a specific "Field configuration" for the that issueTYpe and make the components field mandatory on that field Configuration. Once you make it mandatory it would appear on the screen with a red Astrix which means mandatory. The solution by @Elifcan Cakmak is also possible but it in that case user would see the error after he has pressed the create button and then the error would come that "component" is mandatory.

Tarun Sapra Community Champion Aug 14, 2016

Please see here -

"whether the field is required (i.e. the field will be validated to ensure it has been given a value) or optional"

And you have can have a different field configuration for different issueTypes in the same field configuration.

To be clear on that validation option - you're not making it "mandatory on a screen", you're making it "mandatory to go through a transition".  It's easy to set up an example where you use the same screen for an "edit" and a "transition", and the field is only mandatory on the transition.

@Tarun Sapra i get what you are saying, but it doesn't work for me. can't get the 'Component/s' field to be mandatory on a specific issue type.

Tarun Sapra Community Champion Aug 15, 2016

@Lior Pesoa Can you paste your field configuration? and field configuration scheme screenshots. thanks

sure @Tarun Sapra




Tarun Sapra Community Champion Aug 16, 2016

thanks, can you also share the screenshot from the "fields" section of the project-admin section , I want to see the field configuration scheme mapping the project admin section versus the issueTypes

this ?


Tarun Sapra Community Champion Aug 16, 2016

Thats your problem right there, you are using the default field configuration scheme for all issueTYpes, you haven't associated the project with the "Field configuration scheme" which contains the Field configuration scheme for the issueType "Members experience"

but when i change the project field configuration scheme it changes 'component/s' to be mandatory for both 'bug' and 'members experience' issue types.

i want it to be mandatory only for 'members experience' issue type

Tarun Sapra Community Champion Aug 16, 2016

Then you need to configure your field configuration scheme in such a way that the field configuration in whcih components is mandatory only applies to members issueTypes and not for bug thus different behaviour for diff. issueTypes it's easy to do -


finally it worked! thanks @Tarun Sapra

sometimes JIRA configurations are the hardest things to do in the world smile

way too complicated UX

Tarun Sapra Community Champion Aug 16, 2016

Wow nice smile , indeed UX can be confusing ( try issueType migration laugh)

@Lior Pesoa Please accept/upvote the answer. thanks!

0 votes


you can create a different workflow for that issue type and in the workflow you can add a validator to make components field required for the transition you want.


The field Component/s is a system field, therefore it cannot be configured to be made available for certain issue types you prefer. However it can be made required by going to field configuration. Its better to create a custom field component(s) and configure field context for issue types you prefer. 

Tarun Sapra Community Champion Aug 16, 2016

Creating a field which is similar sounding as that of a system field is a really bad idea. 

In that case creating two separate field configuration for two issue types will be perfect.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

244 views 6 0
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