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

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 Leaders.
June 21, 2015

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

Suggest an answer

Log in or Sign up to answer