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

0 votes
Answer 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
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

393 views 6 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