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
Alfonso Leiva [ServiceRocket]
April 16, 2018

Have you previously created, in the project you are trying to import to, the versions that you have listed in the Excel file?

Daniel Phan Tran
April 16, 2018

yes, i have the version already created

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events