Forums

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

How to use automation to check for a component name in a summary and add it into the component field

Claire Port November 26, 2020

I am trying to set up an automation that recognizes a component name in the summary of a case and then adds that data into the component field of that case.

I can get the first bit done as follows.

{{issue.summary}}

contains

{{issue.component}} 

 

The next stage is to edit the issue component field. But how do I carry through the data from the previous step? Is it even possible or has anyone got another suggestion as to how to do this?

 

1 answer

0 votes
Guilhem Dupuy
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.
November 26, 2020

Hello,

I would suggest using a JQL condition in your automation rule of the following type :

NameOfYourTextField ~ "Name of your component" (The text field of your issue contains your component)

If the condition is validated, you can then set the component to the concerned issue.

 

Let me know if it helped,

Guilhem

Claire Port November 30, 2020

Thanks for this.  I assume I will need to set up a rule per component then?

Claire Port November 30, 2020

This works on a single component name

Summary ~ "Component Name"

Edit issue  Component  then choose the appropriate component.

Is that what you meant?

claire

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