Forums

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

rollback problems when using custom transaction management in jira

Jay Koo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 14, 2020

As mentioned in

https://community.developer.atlassian.com/t/create-and-use-custom-transaction-management-in-jira/17265

I add the transaction management in my code when creating the issues and doing some work about custom fields and workflow.when the code meets some exception, the table 'jiraissue' has successfully been rollbacked.However,when I visit the page,the rollbacked issue still is shown,although when I visit the issue,it reminds that this issue can't be opened.

1 answer

0 votes
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.
May 14, 2020

That's old code and won't work in later versions of Jira, they don't work the same way.

What are you trying to achieve with this?

Jay Koo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 14, 2020

I am developing the jira plugin to create batch tasks and deal with the custom fields and workflow at the same time.

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.
May 15, 2020

Ok, so why are you looking at roll-backs?  Why do you think you need to do that when you're creating tasks?

Suggest an answer

Log in or Sign up to answer