I save the user who Resolved the issue in a secondary field and then if someone Reopens the issue I want the Assignee to be that user who Resolved the issue. I need this to be on the screen when they click on Reopen so a Post Function does not help.
I am trying to do it in the Behaviors Plugin server side script panel using the following code:
public void setReopenAssignee() {
FormField resolvedByField = getFieldById("customfield_10101")
FormField assigneeField = getFieldById("assignee")
assigneeField.setFormValue(resolvedByField)
}
Sorry for it not being in the syntax macro but that isn't working for me at the moment.
Anyway, I have it tied to the Assignee field and then have the Condition of Reopen action but it doesn't seem to fire.
So is this even possible?
Thanks,
Jon