Hey Guys,
We are using workflow transition to delete an issue.
My Script -
if(isUserAuthorized(user, issue.getReporter(), issue.getAssignee())) {
//issueManager.deleteIssueNoEvent(issue); // this function also does not work.
issueManager.deleteIssue(user, currentIssue, EventDispatchOption.ISSUE_DELETED, false);
}
When i press on the transition button, this pops up --
Index: 0, Size: 0
It seems that you have tried to perform an illegal workflow operation.
If you think this message is wrong, please contact your Jira administrators.
Thanks !