Hi
Our team uses bulk changes, bulk imports, and some addon that makes doing a lot of changes very fast and easy. my question is if there was change that was made in error is there anyway to undo it? Please let me know how i would do such a thing.
Jon
Dear @Jon ,
there is no UNDO function in Jira at all. So you can do two things:
a) Backward Fixing: Replay an old dump / restore DB to a time before the bulk or just restore one project to a former status.
b) Forward Fixing: Read the history information with REST API and replace all "newvalue" entries with the "oldvalue" entries for all issues that are within a specific date range.
So long
Thomas
For a) Importing issues
For b) To get the history of one issue you need to
GET /rest/api/2/issue/{issueIdOrKey}?expand=changelog
Depending on what was changed you have to update the issue or transition the issue. See Cloud REST API for details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Jon ,
if you have already bought this plugin than you have to write a groovy script. I have too less xp to advice you for writing such a script. You can ask for help in the developer community of Atlassian.
The API calls can be also scripted. No plugin is required. Depending on your knowledge you can use eg. PHP or python. This makes sense for +100 issues to fix. With a combination of different rest calls you can achieve what you want. I would say roughly one day of work for an advanced developer.
If you have just a few issue to undo, you could check the free plugin Action Undo on the marketplace.
So long
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
will check out how it would work with scriptrunner.
on the add ons, Action Undo is not for cloud I believe, are there any add ons that are for cloud?
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.