Choose a content of field dependent from other fields?

Hi all,

Please it will be possible make this ?

If an issue have a custom field called SubArea and this field is filled with the value "Quality" and too i have a custom field called Classification and this field can be filled with value A or B.

If SubArea=Quality and Classification = A or B , i only can choose in my other custom fileld from the type user picker the names of the quality people. If SubArea or Classification was filled with any other value the user picker is free, i can choose any people.

Thanks in Advance



2 answers

1 accepted

0 votes
Mizan Community Champion Jun 10, 2012

I think this is possible using Javascript OR Behaviours Plugin

You will have to check the values in SubArea if it is Quality then remove all the users from the user picker customfield other than some specified users

Below is a JS(works for 4.4) to remove user(option) from the user picker

<script type="text/javascript">
AJS.$("#customfield_xxxxx option").each(function()    {
    if( AJS.$(this).val() == 'USER'){ 
        var m; m=m+1;

EDIT : Sorry the above script does not work for customfield but for assignee field

Hi Mizan,

Thanks for your help.

Please, Do you have any scripts that works with custom fields?

Thanks in Advance



Hi all,

Please do you have any clue?

Thanks in Advance



Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot