How to hide a workflow transition from user but also allow automation to run it.
Ex: Done --> Resolved
User should endup with Done status, after that automation should check the condition and then change to Resolved. User should not allow to see Resolved status.
I have tried Workflow Condition & Validation to achieve it, but no luck.
Any suggestion.
Thanks,
@Jeffrey Bistrong Thank you for that solution. One improvement: you can select `atlassian-addons-project-access` under "users in project role". That targets automation for Jira directly instead of needing to use a permisson.
Thanks for this tip! It worked perfectly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I found a solution for this.
I am using the "Permission" condition on the workflow action. I put the automation for jira user in the "sprint-admin" permission which is the least used permission (only a few people have this permission)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What exactly do you mean by "no luck" ? :-) what exactly did you try a and what exactly was the result?
What automation were you doing? Did you try Triggers? I guess they should do exactly what you need, as thay ignore conditions, as can be seen on screen
(Edit workflow > edit transition > Triggers)
To hide Transition, use the Conditions tab on the same screen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm trying to do a similar thing.
I want to hide a transition for an issue if it has a sub task (the transitions are automated through a script).
I tried the following (added it as condition to a workflow transition)
Boolean passesCondition = true;
if (!issue.isSubTask() && !issue.getSubTaskObjects().isEmpty()) {
passesCondition = false;
}
passesCondition
It blocks the transition from the user, however it also blocks my scripts (as the condition is false, my post function script doesn't execute).
Is there a way to only hide the transition UI elements for the user?
Link to my question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.