Forums

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

Jira Automation - Check components in summary issue

Yohan Brunet
September 22, 2022

Hello,

 

I'm trying to create an automation rule which check if an existing project component name is in the issue summary.

I'm quite new to the Jira Automation system and this is my rule :

 

1- Webhook : GET all components from rest/api/2/project/{{project.key}}/components

2- If : Advanced compare condition : {{webResponse.body.name.split(", ")}} contains {{issue.summary}}

        Then return "1" in the log

        Else : Return "0" in the log

 

The only time the rule worked was when i've put only the exact component name in it. If multiple words are in the summary the condition doesn't work even if a component name exists.

 

Thanks already for your help on that :) 

Best regards

 

 

1 answer

0 votes
Alexey Matveev
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

Kindly go to the board configuration and find the board filter on the General tab. Try to execute the filter in the Issue Navigator and have a look, if you can see issues in the result part of the issue navigator. If you can not see any issue, then check the browse issues permission on the projects, which are queried by the filter.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events