The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

set Assignee on create issue post function

srinivasp
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 Champions.
June 19, 2015

We have component leads set as default Assignee. I am trying to bypass this feature using groovy post function based on the value of a different custom field. After setting assignee, getAssignee function is returning the updated Assignee but the value is not persisting since the assignee on UI showed as set to component lead. How can we handle this?

 

mi.setAssigneeId (lead);
log.debug("assigneeId :: "+mi.getAssigneeId())

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
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 Champions.
June 21, 2015

Put your function first in the list, it should work then.