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

This widget could not be displayed.
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



This widget could not be displayed.

Hi all,

Please do you have any clue?

Thanks in Advance



Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

71 views 1 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