Forums

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

Create a new issue when a specific component is added

Matilda Westerdahl January 27, 2023

Hello! 

I've set up an automation rule for my project so that whenever we create a new issue with a specific component, a new issue is triggered. However, I realize this only works when the component is added right away in the ticket creation. It won't work if the component is added after. 

Is there a way to create a rule so that whenever; 

- issue matches right issue type

- issue matches the right operation type

and

- has a specific component added to it

= new ticket is created? 

1 answer

1 vote
Kalin U
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.
January 27, 2023

I would change the trigger to "Field value changed" and select "Components" as the monitored field, select "Value added" as the change type, and select "Create issue" and "Edit issue" for the operations.

Alternatively, you may want to change the trigger to a JQL query, i.e. "Scheduled" with the option "Run a JQL search and execute actions for each issue in the query." selected.

Make sure that you add the "Issue fields condition": Fields contains any of <your component>.

Matilda Westerdahl January 27, 2023

Hello! 

Thanks for your response. 

Where do I find the "change type"? I can't find it among the options in the Trigger-setup (for Field value changed). 

Kalin U
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.
January 30, 2023

shot_230130_110722.png

@Matilda Westerdahl it is the second configuration field in the "Field value changed" trigger component.

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