I have this fairly straightforward workflow post-function that should close a parent issue once all of its sub-tasks have been closed. But it doesn't Any suggestions?
View_Workflow_—_The_Suits_workflow_-_hailo_jira_com3.png
Transition__Close_-_hailo_jira_com1.png
Transition__Close_-_hailo_jira_com2.png
_HFB-1093__Test_by_miles_-_hailo_jira_com4.png
Do you have any conditions or validators on the "close" transition?
The second image is the Conditions tab, and there's no Validators. My current hypothesis is that it is because of the Resolution field being required in the Screen for the Close transition. Also, the post-function does work if dragging tickets into columns in the Work view. However, it doesn't work if I Close all the sub-tasks from the parent ticket view (see image #4 in the original post).
> The second image is the Conditions tab, which you can see has 1 condition, but it won't block the Close transition if all sub-tasks are closed.
Resolution is not required on the transition - only the validators do that and you've said you have none. You could have a point though - could you try adding a post-function to the *parent* workflow of "set resolution to fixed" (temporary, of course) and see if it works then? Also, does the person closing the sub-task have the permission to close the parent as well?
I Have the same problem, with the only difference that my parent does not transtion because (i think) it has 3 scripted post functions ( 1 creating a subtask, 1 sending a mail and the last one setting a custom field).
When i remove those post function the transition works.
What do you guys thiknk ?
I have the same problem. Does anyone of you have a solution for this?
Kind Regards
Elke
It's the same answer - check the conditions
I had the same issue. The problem was on the condition of the parent transition to hide the transition to the users. Removing that one the post function works correctly. And the transition condition on the children subtasks does the job of hiding the transition at the same time.
It looks like you're new here. Sign in or register to get started.