Auto Ticket Creation Using Scripted Post Function to create ticket in other project and copy values.

Nikhil Guntupalli May 28, 2020

1. When a ticket is created in a project, based on the custom field selected as part of the ticket creation process, it should create a duplicate ticket in other projects as well.
For eg: If someone creates a ticket in the Jira project and selects custom field 'Project Select Field' as 'A', it should create a similar copy of the ticket in 'A' as well. Which includes the same values of the Parent ticket.

2. When the ticket in 'A' project moves from one status to another, related ticket in Jira should also move to a similar status to avoid manual work to track the update on the ticket.

1 answer

0 votes
Katy Kelly
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.
June 1, 2020

1. Create a listener for the issue created event that uses the clone and link built-in script and have the condition check the custom fields value

2. Create a listener that listens for the issue updated event in the ’AProject” project and make the code iterate over the links, check the status and if the status has changed then transition the current issue. You can try to use the fast track transition script which has a condition where you could check the status of the linked issues and then the built-in script handles the transition logic. Otherwise you may have to create a custom script for this.

Suggest an answer

Log in or Sign up to answer