Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Paweł Gołaszewski 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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 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