Set Assignee using Behavior plugin does not work sometimes

Hi, I need to change the Assignee field baed on a custom field change. I have the below code in my Behaviors: FormField assignee = getFieldById("assignee") assignee.setFormValue("testUser") This only works sometimes. Most of the times it makes the issue 'Unassigned'. Is there any problem with Behaviur plugin with setting Assignee. I have JIRA 5.1.8

1 answer

This widget could not be displayed.

I saw your bug report but I ignored it thus far because it contained too much code. Can you reproduce the problem just using that code snippet above?

Because the code you posted in your bug report had a lot of conditionals, and you said it worked sometimes... so I thought the problem was in your code.

Nothing in computing is truly random... if it doesn't work sometimes, can you work out what is different about those sometimes?

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...

167 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