Set Assignee using Behavior plugin does not work sometimes

rahulkhire July 18, 2013

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

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2013

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