JIRA Behaviour Impacted By User Permissions?

I have a behaviour built in JIRA.

FormField client = getFieldById(getFieldChanged());   
FormField client_benefited = getFieldByName("Client Benefited");
if(client.getValue() == "DST Full Service")
{
    client_benefited.setRequired(true);
    client_benefited.setHidden(false);
}else
{
    client_benefited.setRequired(false); 
    client_benefited.setHidden(true);
    client_benefited.setFormValue("None");
}

I tested the behaviour, and it all looked good, so I moved it to PROD.  Earlier today, a user reported a problem.  When they go in to create the project/issue type this Behaviour is attached to, after putting in DST Full Service, the Client Benefited field does not display.  I tested this again using my own id, and tested it again using his id.  For some reason, it works for me, but not for him. 

The only thing I can guess is that there may be some sort of permissions issue?  But I looked through all of Behaviours, and I do not see anything that could be triggering this problem. 

I've been googling for a few hours now, and no luck, so I'm hoping someone here can provide some direction.

1 answer

1 accepted

Disregard.  I made the mistake of making this harder than it really was.  The problem was the specific user had configured his create screen to not display the field.  (insert eye roll and disappointed sigh here)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published Monday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

510 views 8 9
Read article

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