Hello all,
i messed up and created to many org in a project via jira extension for servicedesk.
Is it possible to delete all organizations without selecting all >250 and press delete?
We got script runner in our system, but i am not an groovy expert.
br
Harald
You can, do you want to remove them from a Service Desk, or permanently delete all organizations across all service desks?
Code is a bit complex though.
Assuming the former, you can use this: https://gist.github.com/jechlin-adaptavist/cf7c1d3aa67ec35fa6f985e5983d18ff
Paste that into Script Console and it will ask you which project to delete them from, and then Run.
It will delete ALL organizations.
Hey,
awesome - it works!
But it only deletes ~100 each run, but i dont care.
thx!
Harald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oh yeah, duh... basically it will delete about half the total number each run, until the total is less than 50, and then it will delete them all.
I'll fix it at some point.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.