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)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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