Hello,
I'm trying to create an automation, that would link tickets from two project with the same Summary, but I cannot think of any ways of doing that. I tried by using JQL query, but I was unsuccessful.
In more details:
There is project A and within that project there is a ticket with Summary "XYZ"
Then there is project B, where there is a new ticket created with the Summary "XYZ" as well.
I would like the newly created ticket from Project B to link to the ticket from Project A.
Any ideas how I can do that?
Hi Dawid,
Can you share the rule that you have created so far?
And what would initiate the trigger firing? A new issue is created?
Hi John,
Yes, new issue created would trigger the issue.
For now, I tried this:
Trigger: issue created (in project B), then checking if the created issue has the appropriate issue type, then I tried to use "Lookup issues" function to find the issue with the same summary in the other project (project A) and link it to the newly crated issue.
The hard part is in the "Lookup issues" step and I'm unable to get through it.
Maybe there is some other way to make it work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe we can do this without the lookupIssues function.
Create a rule for Issue Created.
Then create a Branch using JQL. The JQL will have all of the issues from Project B.
Then add a Condition to match the two Summary fields (one from the trigger issue (project A) and one from the JQL (project B).
I have test it and it works for me. Here is my rule:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome. If that answered your question, can you click on the Accept Answer button above to close this one out? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.