Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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