Forums

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

Can't branch rule as it requires a version in the context for this option

Sebastian Somi
Contributor
July 4, 2023
  • I have a jira issue in which I added a fix version.

image.png

  • I have created an automation, which will upon transition of this issue release the version.

 

image.png

  • Additionally, what I wanted is that all of the issues in the fix version that was released and are specific status will transition to the next status (marked read).

 

image.png

  •  However, the issues are not being transitioned. I am getting the following error.

image.png

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
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 Leaders.
July 4, 2023

Hi @Sebastian Somi 

That branch type works when the trigger is for a version (e.g., version created).

Instead you will want to use a JQL branch to find the issues which have the same fix version as your trigger issue:

project = myProjectName AND fixVersion IN ({{triggerIssue.fixVersions.name}})

Please note: if your issues have more than one fix version assigned you will need to adjust for that case.

Kind regards,
Bill

Sebastian Somi
Contributor
July 5, 2023

@Bill Sheboy 

Thank you so much for pointing me in the right direction. I ended up doing the following. It seems I had to define Issue Type again in order to get the result I wanted.

image.png

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events