Transaction management

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

No, Jira’s REST API doesn’t support any kind of transaction management or any other eventual consistency model.
However, if you are on Server or Data Center (not Cloud), you can do the import from within Jira, using some Groovy script, and manage your own database transaction for that.