Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

In a workflow trigger, only transition the status for some users.

Siggy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2022

Is it possible to set up a workflow trigger to automatically transition the ticket status only for certain users? 
For example our workflow trigger will transition from 'Ready to merge' to 'Ready for QA' when a github pull request is merged. 

So far I have tired the following: 
A Jira admin set up a new user group with the users who want the automatic status change & excludes those who don't. In the workflow for the merged trigger, I added a condition for "Only users in group <<user group>> can execute this transition" and then published the workflow changes. 

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
November 7, 2022

Hello @Siggy Hinds 

Welcome to the community.

No, that is not possible.

As per the documentation on Workflow Triggers, conditions will be ignored:

https://support.atlassian.com/jira-cloud-administration/docs/understand-workflow-triggers/

How triggers relate to other workflow operations/constraints

When a transition is triggered automatically, it ignores any conditions, validators or permissions configured on the transition.

However, post functions are still executed. You need to be careful that if your post function requires a user, that your transition will not be executed by an anonymous user (see user mapping section above).

Siggy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2022

@Trudy Claspill  Thank you

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events