Hello,
We have a workflow where one of the status transitions is restricted based on all sub-tasks being resolved. The users have been trained but this keeps popping up as a question, and I understand, because it just isn't visible to them.
For users, this appears as follows:
* They just don't see this status as an option in the dropdown - so it appears as if the work item can't be moved to this status at all
* In the View workflow pop-up, you see this transition should be possible, but you can't see it in the dropdown and there is no indication of a restriction being applied
* Also in the View workflow pop-up, you can hover on a transition, but no extra information is shown.
Is there some way to make this restriction visible to users? Can I do something with Automation? Hack something in the transition to visualize this? Or should I just log a change request w Jira? Any ideas are welcome !
Hey @Vicky Pagnaer
Good day!
This behaviour is because of the workflow conditions. If you add a validator in the workflow, the transition will be visible, but when users execute it, they will get an error.
If you add a condition in the workflow, the transition will not be visible until the condition is fulfilled.
I believe the only way here is to inform the users to complete all the subtasks so the transition appears. You can add a custom field of type Message Custom Field (for view) to display this information in the issue view. Place it above the description maybe so it's visible appropriately.
Thanks!
This is as intended, as all other members replied.
A validator is the solution, but as mentioned by @Staffan Redelius this can't be done based on open sub-tasks. As ootb this is not possible.
You would need to look at 3rd party apps on the marketplace, like;
And build you own validator based on a script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vicky Pagnaer and welcome.
This is a question that pops up from time to time.
I guess you have configured this as a condition in the workflow and the problem is that the user does not get a warning message when trying to close the parent issue, instead the transition is not available?
To my knowledge there is no way to resolve this without using third party apps for workflow validations.
I agree that is very annoying...
Best regards,
/Staffan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Vicky Pagnaer
The restrict transition was intended for that specific use case - users that are part of a certain role, group should not see this transition. Why this information needs to be shown to the users that are restricted to see the transition?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.