is it possible to delete an issue while transitioning?
any postfunction or script postfunction?
i found that https://docs.atlassian.com/jira/latest/com/atlassian/jira/bc/issue/IssueService.html#delete%28com.atlassian.crowd.embedded.api.User,%20com.atlassian.jira.bc.issue.IssueService.DeleteValidationResult,%20com.atlassian.jira.event.type.EventDispatchOption,%20boolean%29
but i'm not really into groovy
That would be rather ugly, and I suspect it will fail (even if it doesn't, it'll throw a lot of errors as JIRA tries to do things with stuff you've just killed off)
I would move it to a listener - look for the event your transition fires and have the listener perform the delete after the transition has finished.
(Oh, and don't delete issues as a general rule, as you always end up with a user saying "I didn't mean it" and having to go find the backup tapes it might still be on. Or a bulky fine from a regulator for deliberately deleting audit data)
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs