I've been looking for a good solution that will allow me to apply records retention conditions (ideally, with JQL) to issues - so that I can preserve projects but purge issues that meet given conditions.
For example, service desk tickets that were resolved two years ago.
Any suggestions? Any good plug-in options, default to REST API?
Be interested also in the same scenario on a cloud instance.
Hi!
If I understand correctly, then you need JQL expression + bulk change.
Example: updated < startOfYear(-720d) AND resolution = Done
Yeah, ideally using that sort of JQL but I'm looking for an option that automates the bulk change (delete)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In case you have Script Runner available on your instance you could do it using "Escalation Services".
Otherwise a REST API access executing the desired JQL will do the job (alongside with a cronjob or a similar mechanism).
In total this can be a delicate task to do. Delete is delete = gone is gone.
Nothing against it - but it must be very well tested.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Daniel Ebersyeah, thanks! I had got to looking at Escalation Services - this looks like a good option, initial tests look good.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.