Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Is it possible to have a trigger setup to go to 2 different statuses depending on some criteria?

Is it possible to have a trigger setup to go to 2 different statuses depending on some criteria?

Roberto Olinger
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!
April 13, 2018

I would like to know if we can set up our Jira workflow to transition from QA PASSED to either PRE-RELEASE or DONE status when a Github Pull Request is merged.

Currently, the transition is set up to go from QA PASSED to DONE (only) on a PR merge. However, we have another group in our company that would like to have it go from QA PASSED to PRE-RELEASE status instead when a PR is merged. They would then manually transition to DONE status sometime later.

JiraWorkflow.png

So, in the above diagram, we envision "PR Merge Trigger" to be a single trigger that, based on some criteria (i.e. Project name), goes either to the PRE-RELEASE or DONE status, but not to both (not sure if that needed to be said, I imagine Jira does not allow for that).

We were hoping to have everyone use a single standard workflow. At the moment, the other group is configured to use a different workflow altogether.

Any help would be appreciated.

1 answer

0 votes
Joe Pitt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 15, 2018

You need to setup 2 transitions and put a condition on them to control which group/role can execute it. Providing the user only belongs to one group/role they will only see one transition. 

Roberto Olinger
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!
April 16, 2018

We figured this was one option, but because we cannot limit it to a group/role (would prefer to do it by Product instead), this is not an option we can pursue.

Thank you for the suggestion.

Joe Pitt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 16, 2018

In JIRA Suite Utilities you can test for custom fields in the condition. If the product is in a custom field it can be tested.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events