Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

delete issue while workflow transition

Alexander Richter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 19, 2016

2 answers

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 19, 2016

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)

0 votes
Alexander Richter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 20, 2016

then i would need a jql included in the script, which gives me the issues that have to be deleted

could you give a example for a script like this?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events