Forums

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

Jira automation rule to iterate over list and create new issue and link to the parent

shriya July 30, 2025

I am writing a Jira Automation rule which is triggered based on the comment on the parent issue.

Steps:

1. Comment on parent -> vm1,vm2,vm3,vm4

2. Trigger the automation rule on comment.

3. Create new issues for vm1,vm2,vm3,vm4 and link to the parent.

 Problem:

I am not sure on how to iterate over this input and link it after creating the new issue.

1 answer

1 vote
arielei
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.
July 30, 2025

Hello @shriya 

Why are you trying to base this on comments? it is very dangerous since it will trigger the automation every time a new comment will be set.

 

i suggest to have a custom field for that, if you have a closed list then use Select Multi value CF.
And then you can iterate on those values.

 

 

shriya July 30, 2025

Hi Arielei,

The input I receive on comment is dynamic and generated runtime by Github Actions.

I have integrated Xray with Jira .

Setup ->  For my CI/CD setup, I am creating "Test executions(Create new issues)" runtime which is based on the "Test environments" available. 

Github Actions workflow will check for available "Test environments" and update Jira accordingly. These is based on the information available in the comment. 

If you suggest for "Custom field" could you tell me how to go about it in my case?

Thanks,

Shriya

Suggest an answer

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

Atlassian Community Events