Jira rest api transaction management

Priya Gopinath January 30, 2020

Hi,

Could you please let me know if Jira supports Transaction Management.

I have a set of issues that need to be inserted into Jira using Java REST API one at a time. I don’t want these issues to be committed if either one of them fails while doing the insertion. If one fails in the middle, the ones that ran before should either be rollbacked or wait until all issues have been inserted and then do a commit.

Please let me know if you have any ideas or pointers towards this.

Thanks

1 answer

1 accepted

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.
January 31, 2020

No, it is not block-transactional.  It is individually transactional - each post you make either works and updates the data, or it fails and makes no change.  Each individual post.

There's no way to roll back if a series of separate transactions fails in the middle - they're all separate transactions.

Suggest an answer

Log in or Sign up to answer