I get an exception when transitioning a sub task

I get the below exception when trying to transition an issue from Resolved to Intest and beyond t closed.

 

org.ofbiz.core.entity.GenericTransactionException: Commit failed, rollback previously requested by nested transaction.
It seems that you have tried to perform an illegal workflow operation.
If you think this message is wrong, please contact your JIRA administrators.

4 answers

Hello Matt,

Check the below workarounds:

# Make the Transition the parent has to go through a Global transition. 
or 
# Remove the Post function that affects the parent.

Hi Matt, I was just answering that on https://answers.atlassian.com/questions/24646330

The Cloud release and the JIRA Misc Workflow Extensions plugins are having problems.

See https://jira.atlassian.com/browse/JRA-44681

Just to echo the error Matt commented about:  

I am using the current JIRA OnDemand and had already, and successfully, been using the transition parent as follows: Using a parent "Global Transition" and a parent conditional that requires all sub-tasks to be either "Complete" or "Done" , when true, it transitions the parent to its "Done" state.

Now, I too am receiving the error message described above.

The mentioned workaround, "Make the Transition the parent has to go through a Global transition." was already in place.  

When I originally created the transition for the parent it was "Global" and each subtask workflow, respectively, post function (last line) is set to to "transition # will be triggered on the issues' parent issue.

So, it was working fine and now is not.  That is troubling and frustrating at the same time.

Sure, I could removed the post function to transition the parent, but that does not resolve what use to work.

Any comments appreciated.

This happened in our system when a post function in a child issue was triggering it's parent issue to transition, but a validator in the parent issue was failing.  The error message in the parent issue did not make it down to the child issue and instead there was this error:

 

org.ofbiz.core.entity.GenericTransactionException: Commit failed, rollback previously requested by nested transaction.
It seems that you have tried to perform an illegal workflow operation.
If you think this message is wrong, please contact your JIRA administrators.

 

Fixing the parent issue transition problem addressed this problem.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

94 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you