It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hide transition from user but allow automation to execute it.

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.




2 answers

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)image.png

To hide Transition, use the Conditions tab on the same screen

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;


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.

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)

Add Condition To Transition - JIRA 2020-08-14 11-30-28.png

Project Customer Reporting - Project Permissions - JIRA 2020-08-14 11-31-31.png

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you