Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling/Disabling a custom field based on values entered in an another custom field

Mayur Gaikwad_Tech PMO
Contributor
January 3, 2025

Hi,

 

Is it possible to control enablement / disablement of a custom field basis the value entered in an another custom field

For e.g, there is drop down that contains LOVs like Major Project, Minor Project, Other Projects. If i select, Major or Minor Project, a free input text field should be enabled for user to fill details and create ticket.

3 answers

4 votes
Sebastian Krzewiński
Community Champion
January 3, 2025

Hi @Mayur Gaikwad_Tech PMO 

 

In Jira Cloud out of the box it is not possible. You need to consider to use Script runner and Behaviours.

 

Regards,

Seba

1 vote
Kristian Walker _Adaptavist_
Community Champion
January 3, 2025

Hi Daniel,

If you have ScriptRunner for Jira Cloud installed, you can achieve this requirement using the behaviours feature.

As mentioned in the documentation page here, behaviours support the setReadOnly() method for company-managed projects.

Using this, you could make your field read only when a specific value is selected inside your select list field.  we have an example here that shows how the setReadOnly method works, which you can use as a reference guide.

I hope this information helps.

Regards,

Kristian

1 vote
Alex Koxaras _Relational_
Community Champion
January 3, 2025

Hi @Mayur Gaikwad_Tech PMO 

If you are talking about Jira and not JSM, then this isn't possible. On JSM you could use Forms to do that. On Jira this isn't possible out of the box. Scriptrunner is the way to go, but on cloud it has limitations as to what you can achieve. More here:

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events