Forums

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

How to create a child issue in a different project based on some conditions

Paweł Gołaszewski
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!
April 14, 2023

Hi, 

I have 2 projects AA and BB. In project AA I have parent issues with a custom field Country. In Project BB there are parent issues with Summary field set to Country values. I would like to build an automation which will create a child issue in project BB under parent issue which has Summary field equal to value of Country field in parent issue in project AA whenever new child issue with Summary field equal to 'phrase' is created in project AA.

So the automation should be triggered when in project AA new child issue with Summary field equal to 'phrase' is created. Then the automation should get the value of Country field in parent issue in project AA and look for a parent issue in project BB with Summary field equal to this Country value. Once the parent issue in project BB is found then automation should create child issue with some values rewritten from parent issue in project AA.

I stuck on initial conditions I can get parent issue key in project AA but I don't know how  to get value of Country field and compare it with Summary field in project BB to create child issue under parent issue which meet this condition.

Is such automation possible in Jira or external scripts or additional plugins are required?

Thanks

Pawel

1 answer

0 votes
Nic Brough -Adaptavist-
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.
April 15, 2023

Welcome to the Atlassian Community!

You have not told us how this relates to your Epic -> Issue -> Sub-task hierarchy.

Paweł Gołaszewski
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!
April 17, 2023

Project AA which is Team-managed business (Jira Work Management) project has no Epics. There are 3 types of tasks and one kind os subtasks.
Project BB which is Team-managed software (Jira Software) project there is one Epic under which there is one type of task which can have multiple subtasks of one type.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events