Forums

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

Trying to automate assigned component based on summary content

Sam E
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!
October 4, 2024

I'm fairly new to Jira and am not a system admin but I am the project admin.  I'd like to setup an automation whereby the components are identified and assigned based on the content of the summary.  Seems easy but I can't get past the "Then:" part of this.

 

So far I have a rule that says 

WHEN: Issue created

IF: {{issue.summary}} contains {{issue.components.name}}

THEN: ???  //add components to issue using matched / identified components

What should I put under "Then" to make this work?

1 answer

0 votes
Samuel Gatica _ServiceRocket_
Community Champion
October 4, 2024

Hi @Sam E 

Welcome to the community!

You may try the suggestion in post Jira automation get all project components and use REST API function and web request.

Or if your components do not change too often you can create an IF/ELSE condition and Then add the Edit field and add the Component fields.

Example

IF summary containing A

Then Edit field components to A.

ElSE IF summary containing B

Then Edit field components to B.

 

Best regards

Sam

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events