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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

202 views 1 3
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