Hello, everybody,
I administer a Jira Cloud instance for my company and I was asked to see the possibility to Sync some issues linked to others across multiple projects in the same instance.
I have been trying to get an automation rule working with no success and would like to get your help on this. Thanks in advance.
The information I have:
We have a "source" project which has many issues linked to other issues in other multiple projects. The targets. The issues in the source are linked as "Blocks" to the Target's issues.
The request is that everytime fields as Status, Assignee, Comments and Due Date are updated, changed, added, deleted, those same changes are reflected from the Source issues to the Target's issues.
At the moment, it would be only issue to issue, and not issue to many.
I have tried the rule as you can see in the screenshots. Including changing the Edit issue action from current issue to trigger issue, and the condition from linked issues present directly to issue fields condition Link is not empty.
Additionally tried the FOR to be set as all issue operations, edit, create, and nothing seems to trigger although I see in the audit logs sometimes that the rule runned successfully or that runned with no actions taken.
Nothing seems to work, so I would like to get your help on how to resolve this.
Thanks.
Also tried "For all issue operations" and specific operations as well, but the result is always the same.
Hey @Christian Isaza , welcome to the Community!
If I understand your challenge correctly, you're looking to do the following:
If I've got that right, then your automation rules are close! You're missing the "For: Linked Issues" action branch. Here's a screenshot of what your automation should look like.
A couple things to note:
Let me know if that works!
Robert
Hello, Robert!
Thank you so much for your response.
Yes, issues on Project A would be the blockers of the issues in the other projects. And changes would be applied in Project A to be reflected in the other projects.
Thank you for the explanation, at this time I am trying your changes considering all the details provided (the workflows and permissions).
Once I test it out, I will post again if it was successful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, @Robert DaSilva
Thank you for your help. For the Assignee, Status and Due Date it is working smoothly.
I just wanted to ask how would it be for the comments? The same principle: all comments that are added or edited (at least added), how could I copy them into the linked issues?
I tried:
https://community.atlassian.com/t5/Jira-questions/Add-automation-copy-cloned-story-s-comment-into-story-it-s/qaq-p/2258868?lightbox-message-images-2258968=237999iBB71A1BEDF5C7A22
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.comments--
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Christian Isaza Comments are more challenging as they can be edited. If you want only the original comment as it was written, you can use the same logic, but instead use the "Comment Added" trigger.
I would also recommend restrictions on the permission scheme to prevent comment editing, to ensure things stay connected.
As an aside, I would re-evaluate your use case, and determine if sharing the tickets using a cross-project board is a better way to ensure internal alignment. Duplicating this data is not generally considered best practice inside of Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Robert DaSilva thank you again.
Can you please clue me in why this would not be a best practice?
The reason behind our will to implement this is because the people working on the source and target projects have the same tickets in both sides (for business/StakeHolder's reasons) and want to avoid manually updating them since they could be some times 20+ tickets in one single change (I mean, 1to1 but multiple).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Christian Isaza Generally Jira works best when all parties involved are looking at the same ticket.
I'd be curious as to why there are multiple Jira Projects that aim to track the same pieces of work. The general practice is that pieces of work are unique, and exist once in an instance. And then any users that need to be party to that are either "Watching" those individual tickets, or are looking at Project Boards or Dashboards that have filters that display only the content they care about.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Robert DaSilva Usually we handle the viewing by Boards and filters as you point out, however these projects serve an additional purpose.
Thank you so much for sharing the information I required and pointing me up to the right direction.
If you don't mind, just to end, can you also help me check my comments copy rule? I have tried triggers as all comments or new comment added. Yet it is not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Christian Isaza ,
Your automation structure should work here. Your "For Linked Issues" may have the type set incorrectly to "issues blocked by" instead of "blocked", so I would double check that. I did test the same structure that you have provided (with the added change of updating the Link Type to Blocked), and the functionality is working on my Cloud site.
The automation section also has an Audit Log, which help to provide some clarity on why errors may be occurring. I would give that area a check as well.
Glad I've been able to help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Robert DaSilva
Thanks; I set the branch for: as blocked by because I thought it would make the changes against those tickets.
Anyway, trying both ways (blocked by, and blocks), also trying adding the Jira Automation actor to the projects' permission scheme is not solving the issue.
When I go to the audit logs it always says "No actions performed" and "Branch rule / related issues - No related issues could be found."
Thanks once again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Robert DaSilva I just found my issue :D and was able to solve it.
The issue with the comments copy was that I just had in the scope the wrong projects (bad idea to have too many projects with similar names) :D
Thank you for your help. I am really grateful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.