When having a transition for an escalation I get a screen for the escalation information. By default the Asignee and Assignee groups are set to the Assignee and Assignee goup of the issue. I want this custom fields to be blank as an escalation is typically done to another person or team.
I have tried to add a an condition on the transition, but this does not seem to work (Script runner)
def issueManager = ComponentAccessor.getIssueManager()
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def cf = customFieldManager.getCustomFieldObjectByName("Assignee")
def changeHolder = new DefaultIssueChangeHolder();
cf.updateValue(null, issue, new ModifiedValue(issue.getCustomFieldValue(cf), ""),changeHolder);
// log.error "Customer Request Type: " + cFieldValue;
log.error "REAL ERROR" + ex.getMessage()
Does someone know a solution for this?
Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot