Forums

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

AUTOMATION RULE CREATION

Ulrich Kone
Contributor
December 12, 2023

For example :

I have a US US_test1 which has 6 sub-tasks:
SOus-tache1-RG001
SOus-tache2-RG002
SOus-tache3-CA001
SOus-tache4-CA002
SOus-tache5-DEV-IHM
SOus-tache6-DEV-mapper

I want to create an automatic rule with manual triggering that would create Test tickets with the names and description of each sub-task containing the string "RG" or "CA" in its name, when we are positioned on the US.

so in my example, the rule would create 4 TEST tickets named :
SOus-tache1-RG001
SOus-tache2-RG002
SOus-tache3-CA001
SOus-tache4-CA002

Could you please help me to set this up?

1 answer

0 votes
Bill Sheboy
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.
December 14, 2023

Hi @Ulrich Kone 

What have you tried thus far to solve this need?

If you have started an automation rule and are running into challenges, please post images of your rule, the audit log details, and explain what is not working as you expect.

 

If you have not started the rule, please consider that you could identify the issues with a JQL statement, based on the rule triggered issue.  For example:

project = yourProjectName AND parent = {{triggerIssue.key}} AND issueType = subtask

It may be possible to check the Summary as part of this JQL also, perhaps using the CONTAINS operator and wildcards.  Please look here to learn about that: https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-operators-reference-939938745.html

Your rule could then branch over those issues, and use conditions to check if the Summary contains what you need, and then create the test.

 

Using automation rules requires learning and experimentation.  I encourage you to try to create the rule, and if you run into challenges to post your rule and explain what is not working as expected.

To get you started creating your rule, please review this documentation: https://confluence.atlassian.com/automation/get-started-with-jira-automation-993924596.html

 

Kind regards,
Bill

Ulrich Kone
Contributor
December 20, 2023

Hello Bill,

I managed to solve my problem with automation.
Thanks again for your feedback

Best regards

AUT.PNG

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer