JIRA automation

Midhun
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!
December 4, 2024

 

I have two projects- Project A & B in JIRA I've setup an automation - if there is any task or ticket thats created in Project A, a similar ticket is getting created in Project B with all details. If someone has access to Project B and if they add any comments or updates in the ticket that was created via automation in Project B, I want to sync those updates to the original ticket in Project A. Can you help me with step by step process to set this up in JIRA?

1 answer

0 votes
Tobias H
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.
December 4, 2024

Hi @Midhun and welcome to the community!

How much of the automation exists right now? Do you clone the issue over to Project B already and only looking how to copy comments between the two moving forward?
(Or have you not created any automation yet?)

Midhun
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!
December 4, 2024

@Tobias H Hi, Right now, I'm cloning all the issues to project B. I'm stuck on how to update any comments that's added in the issue in Project B to be updated in Project A.

TIA,
Midhun

Like Tobias H likes this
Tobias H
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.
December 4, 2024

Have you tried to link the issues together when you clone, and then use an automation that looks something like this?

Screenshot 2024-12-04 at 12.01.34.png

And make sure to create it either as a Multiple project or Global automation, so it can see/interact with both Project A and B.

Midhun
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!
December 4, 2024

Screenshot 2024-12-04 at 4.50.14 PM.pngScreenshot 2024-12-04 at 4.50.27 PM.png


@Tobias H I have added the above rule, but rule is not executing and comments are not added in Project A from Project B


Tobias H
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.
December 4, 2024

It seems like the scope is only affecting one project under Rule details, it needs to be configured to included Multiple Projects (both A and B) or set to Global for it to work.

And make sure if the rule actor (if different from Automation for Jira) has access to both projects.

Secondly, it seems like the JQL for the if statement says: project = myHQ Tickets

But as there is a space in that you would need to write it as "myHQ Tickets" or replace it with the project key.

You can probably also skip the summary part, that was more just an additional security to really narrow down the search scope for the query.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events