# Generate new issues in the project of linked issues

**URL:** <https://forum.library.adaptavist.com/t/generate-new-issues-in-the-project-of-linked-issues/136>\
**Category:** Scripts\
**Tags:** jira, post-function\
**Created:** [May 13, 2022, 1:44pm UTC](https://forum.library.adaptavist.com/t/generate-new-issues-in-the-project-of-linked-issues/136 "2022-05-13T13:44:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eileenmarie20](https://avatars.discourse-cdn.com/v4/letter/e/0ea827/32.png) [@eileenmarie20](https://forum.library.adaptavist.com/u/eileenmarie20)\
**Post date:** [May 13, 2022, 1:44pm UTC](https://forum.library.adaptavist.com/t/generate-new-issues-in-the-project-of-linked-issues/136/1 "2022-05-13T13:44:56Z")

</div>

An issue in a project has multiple linked issues from different projects. When this issue transitions I want to generate 2 tickets/tasks in the project of each of the linked issues

Issue in project 1 with the following linked issues  
project 2 linked issue  
project 3 linked issue  
etc.

project 1 issue transitions to the next workflow state then  
generate 2 issues in project 2 for the project 2 linked issue  
generate 2 issues in project 3 for the project 3 linked issue  
etc.

---

<div class="post-metadata">

**Author:** ![imadero](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.library.adaptavist.com/imadero/32/59_2.png) [@imadero](https://forum.library.adaptavist.com/u/imadero)\
**Post date:** [May 17, 2022, 10:37am UTC](https://forum.library.adaptavist.com/t/generate-new-issues-in-the-project-of-linked-issues/136/2 "2022-05-17T10:37:20Z")

</div>

Hi @eileenmarie20 .

Here are some examples of how to work with linked issues even cloud or server, [Copy Labels from a Parent Issue to all Linked-issues - Adaptavist Library](https://library.adaptavist.com/entity/copy-labels-from-a-parent-issue-to-all-linked-issues), [https://library.adaptavist.com/entity/calculate-the-sum-of-all-values-of-a-custom-field-in-linked-issues](https://library.adaptavist.com/entity/calculate-the-sum-of-all-values-of-a-custom-field-in-linked-issues), [Update Priority Based on Linked Issues - ITSM - Adaptavist Library](https://library.adaptavist.com/entity/update-priority-based-on-linked-issues-itsm), [Update the Account Field of Linked Issues after a Change of the Account Field on an Epic - Adaptavist Library](https://library.adaptavist.com/entity/update-the-account-field-of-linked-issues-after-a-change-of-the-account-field-on-an-epic)

and here there is some examples of how to create an issue

> **[Create a New Issue Using a Mail Handler Script and Set the Priority to Match...](https://library.adaptavist.com/entity/create-a-new-issue-using-a-mail-handler-script-and-set-the-priority-to-match-the-emails-priority-header)**
>
> Overview
> Use this script with the ScriptRunner Mail Handler to create a new issue from emails sent to Jira, and to set the priority to the same level as the emails X-Priority header.
> Example
> As a Jira Admin, I want users to be able to send emails to...

> **[Copy an Issue to a New Project and Link to the Original - Adaptavist Library](https://library.adaptavist.com/entity/copy-an-issue-to-a-new-project-and-link-to-the-original)**
>
> Overview
> Copy an issue from one project to another. Either copy the entire issue or the parts of the issue required.
> Example
> My team has multiple projects in Jira, a main project and several client projects, each with their own product owners and...

If this solution doesn’t fit your needs, we also have a paid [service](https://www.adaptavist.com/solutions/atlassian-managed-services/groovy-scripting-service) where you can detail your needs, and we develop the script for you.

Thanks, Ivan

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/adaptavistlibrary/original/1X/ceb18adf14fa58b4c6de03aa69ada8b07359620c.png) [@system](https://forum.library.adaptavist.com/u/system)\
**Post date:** [November 13, 2022, 10:37am UTC](https://forum.library.adaptavist.com/t/generate-new-issues-in-the-project-of-linked-issues/136/3 "2022-11-13T10:37:43Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
