Dependency between two custom fields

Fariz Aliverdiyev February 9, 2022

Hello!

I would like to create dependency between two custom fields. For example, I have a select list custom field "Test" with two options "test 1" and "test 2", and number field "Quantity". 

So, is it possible when selecting "test 1" option only values less than 10 in the field "Quantity" are allowed to be entered by user?

These two fields are used on a transition screen. 

Thank you in advance. 

2 answers

2 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2022

Hi @Fariz Aliverdiyev ,

you can do that using Behaviour feature provided by Script Runner app https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=server&tab=overview&_ga=2.176794021.1065172825.1644393513-922630374.1631104357

At the following link you can find some examples https://scriptrunner.adaptavist.com/5.6.8/jira/behaviours-overview.html

Using builtin capability you can't do that.

Hope this helps,

Fabio

0 votes
Dawn Cooper November 30, 2022

Can a Behavior also create a dependency between 2 custom fields. Display custom field 2 (text field) only when a specific value is selected in custom field 1 (Single select list) ?

Tiffany J January 18, 2024

was this ever clarified?

Suggest an answer

Log in or Sign up to answer