The issue has unresolved dependencies and thus cannot be set Fixed!
Hello all and Happy new year,
I have an issue with you track with the jetbrains-youtrack-dependencies workflow.
We had a task with 2 dependencies set to done and a parent set to open. And we wasn't able to set the issue to fixed until we removed the parent.
So it seems that in the workflow the "depends on" also includes the parents.
Thanks for all the hard work and the nice softwares.
Regards
I have an issue with you track with the jetbrains-youtrack-dependencies workflow.
We had a task with 2 dependencies set to done and a parent set to open. And we wasn't able to set the issue to fixed until we removed the parent.
So it seems that in the workflow the "depends on" also includes the parents.
Thanks for all the hard work and the nice softwares.
Regards
Please sign in to leave a comment.
If you don't need it in your project just detach this workflow from the project.
thanks for your answer, I totally get that the rule is used to forbid to fix a task with unresolved dependencies and that's something we want.
The issue is that the rules not only consider the dependencies for the current task but also for his parent which seems wrong to me.
Regards
Yann
I guess the problem can be in the other attached workflow - jetbrains-youtrack-subtasks, - could you please review the code or export it and attach here?
And also please review all the attached workflows.
the code for the subtasks seems fine:
The exact message is
We have a rule to set the parent resolution to the lowest resolution of his children (basically an autofix) which is:
But that doesn't seems to be the cause of the problem.
Regards
Yann
I guess the rule 'set Lowest Child Resolution To Parent' in your case sets the parent State to the lowest child state, e.g. to unresolved state.
So the next workflow in chain 'jetbrains-youtrack-dependencies' throws assertion.
I guess if you detach the workflow 'set Lowest Child Resolution To Parent' everything will work as expected.
Please check it.
seems to work.
Thanks a lot for the support.
Regards