Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,256,582
Community Members
 
Community Events
164
Community Groups

Make a custom field mandatory based on the value selected from the dropdown list of another field

Hope I can get some help here!

On the create issue page I have a custom field (Select List (single choice)). Based on one of the values from the drop down list I want to set another custom field as required  If any another value selected from the dropdown list the other custom field should be optional

For e.g.

Custom field - X , values (a1, a2, a3, a4) 

Custom field (Text Field (single line)) - Y 

If and only if a1 is selected from the dropdown list custom field Y should be mandatory, for any other values it should be optional

I tried with the validator and post function option but due to lack of knowledge with Scriptrunner I cant get it to work. 

Note - We do have the Scriptrunner plugin.

2 answers

1 accepted

Andy Heinzer Atlassian Team Mar 30, 2022

As Ravi has mentioned this specific feature is not available directly within Jira.  There have been feature requests for this in the past for both Jira Server and Jira Cloud

However both have been closed as Won't Fix.  That said, there are 3rd party apps in Marketplace, such as Projectrak (formerly known as Profields) that can provide this kind of field functionality.  There might also be other solutions in Marketplace that can help with this use case.

Cheers,

Andy

1 vote

Hi @Romel 

This is not possible on cloud. One server (using ScriptRunner) you can achieve this using Behaviours but not on cloud, hopefully in future.

Ravi

@Ravi Sagar _Sparxsys_ thanks for your response. Is there any other solution  than using Scriptrunner (something built-in JIra) ?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you