Pre-populate the assignee field on a transition in JIRA

Sneha Sheth November 11, 2014

I have a certain user which need to be pre-populated on fixed transitions in the assignee field. I tried using the behaviours plugin and the following code but it is not working. Neither it is giving any error in the logs.

 

FormField assi = getFieldById("assignee")

assi.setFormValue("username");

 

What am I doing wrong here?

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.
November 12, 2014

Which field did you put that behaviour on? Versions please?

Suggest an answer

Log in or Sign up to answer