Auto create tickets in another project based on Component Value

Teza June 18, 2020

Hello Jira Users,

I have a requirement where Jira should auto create tickets in project B based on the component vale of Project A. 

I know we can auto create tickets in Project B from Project A using post-functions plus Script Runner add-on but I want this to happen based on the component value selection, is this possible? 

For example if a user creates ticket in Project A for a component value TEST only then Jira should create a ticket in Project B else it shouldn't. Please advise, any help would be greatly appreciated on this. Thank You.

4 answers

1 vote
Mathis Hellensberg
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 18, 2020

Hi @Teza 

This should be possible. Just make a Listener, fetch selected components, and have an if-statement check if the component TEST is selected.

Cheers!

Teza June 19, 2020

@Mathis Hellensberg  Thank You very much for your advise on this issue, would it be possible for you to walk me through the steps on achieving this?

0 votes
Mohamed Ramadan October 3, 2024

Thank you for sharing the above solution.

 

If I've more than 100 Components and more than 100 Jira projects.

 

How can create Jira issue in a specific Jira project based on the selected component?

 

 

Regards,

0 votes
Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 23, 2020

Hi @Teza ,

 

You can do this with the Automation for Jira addon as well. It is really easy to put together a rule that would do this. For example:

eg.pngThis rule will create a ticket in another project when a ticket with a component of Support Question is created in another project.

Cheers,

Simeon

Mohamed Ramadan October 2, 2024

Hi Simeon,

Thank you for sharing the above solution.

 

If I've more than 100 Components and more than 100 Jira projects.

 

How can create Jira issue in a specific Jira project based on the selected component?

 

 

Regards,

0 votes
Najjar _Innovura_
Atlassian Partner
June 18, 2020

Why not use a mult project custom field?

It will help you with expansion of your projects

Multi Project Customfield 

Teza June 19, 2020

Thanks, @Najjar _Innovura_  but this includes buying a new add-on, any other solution that you can offer without the need to buy new add-on's? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.13
TAGS
AUG Leaders

Atlassian Community Events