Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Need Rollback operation in jira plugin

Suneet Gupta September 1, 2013

I have come across a requirement where I need to persist issue information to an external database while creating or editing the issue. If It encounters any error while persisting to the external db, jira issue operations also should be rolled back at the same time.

I have implemented a listener plugin to persist into external database but I have come across that Jira db operations cannot be rolled back with listeners methods.

Can you please suggest any workaround to get the rollback functionality in Jira?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 1, 2013

No. Jira simply doesn't have an "undo" structure. You could structure your workflows so that they have transitions in the reverse direction, but you'll still see the forward/backward step in the history. For edit, there's nothing you can do in the UI.

If you're coding, you could look at writing something into your listeners that goes back and destroys the issue history you are generating after the "go back" transitions have executed, and after each edit that needs to be undone.

TAGS
AUG Leaders

Atlassian Community Events