Post Function Transition failing using a validator
Hi There,
I am using the instructions found on this page:
I have followed the instructions and have a validator that checks all issues are closed before closing the epic and have a post function to transition an epic to closed when i close an issue. This was working previously however since upgrading to the latest version of JIRA "JIRA v7.1.7" we are now unable to close off issues and get the following error message:
org.ofbiz.core.entity.GenericTransactionException: Commit failed, rollback previously requested by nested transaction.
I have also attached a screenshot of the issue. Please advise as its realy important the epics close themselves automatically when all issues within are closed for u and cannot currently close any issues part of an epic.
Comments (5)
-
repo owner -
reporter I am currently using v2.2.13 of the add on.
I have attached the transition that closes the epic. The Epic is on the same workflow as the stories so the transition and status names are the same, the attached transition works for putting the epic into "In Progress" and also works to close the epic (but only if the validator is turned off or is set to ignore validation for "JIRA WORKFLOW TOOLBOX TRANSITIONS")
Please also see the validator
-
repo owner Please, replace "Issue status" with "Issue status (delayed writing)" in target field parameter in your post-function.
This modification is required after an unfortunate modification in JIRA API since version 7.0.
-
reporter Fanastic, thanks so much Fidel. Love this add on.
-
repo owner - changed status to resolved
Great!
- Log in to comment
Hi Ben,
Please, confirm the version of JIRA Workflow Toolbox you have installed.
Please, attach a screenshot of the post-function's tab where you have inserted the post-function that is triggering the transition for closing the Epic.
Thanks.