Hi,
What i would like to create is the following.
I would like to automatically link tickets together automatically that we receive via e-mail and creates tickets.
Summary text is different but always has a matching uniqueID in there for that communication. Some examples in screenshot.
Doing it with Branch/Rule does not work. It matches all of them on the summary when the numbers in that summary are different.
So my best guess to go forward is.
When a ticket is created, it gets the uniqueID from the summary and puts that in a custom field. Like custom field with "123456789" or the other "[ABC0012345]"
With this custom field i can link tickets together when we receive them to look this up an match them and then link automatically.
Is there a way to do this of does someone have another ideas on howto get this done?
Thanks in advance!
@John Funk
I do have another challenge.
Linking the issue(s) to another issue that has the same maintenanceID.
Somehow it links them al together(with also other numbers) and not only the one that has the same explicit value.
Any ideas what i'm doing wrong?
Some screenshots with code, log and tickets.
Almost there in what i ant, but somehow i can't get this one accurate.
@John Funk
I guess you mean something else, as in what i did now is not working and does the same ;-)
The 5 min is now just for testing, will change that after it works ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@John Funk
In the JQL i'm stuck as code.
This is incorrect it shows. But not getting in what to put there:
{{issue.customfield_maintenanceID}}{{equals)lookupIssues.customfield_maintenanceID}}
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael - Welcome to the Atlassian Community!
Can you share the actual rule that you have created so far?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Sure, here it is.
Simple and not effective. I guess if i could extract somehow the uniqueID from the e-mail/ticket and put that in a custom field i can make it smarter. But there is where i get stuck ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, that last step where it is linking the issues is not restricting it to the issues found in the Condition - the Condition is just making sure there is at least one that matches. I think I would add a Branch there with JQL and use the same code from the Condition Then move the Link issues action under the Branch. Give that a go and see how it works.
Also, you have this running every 5 minutes - unless you have unlimited executions for your rules, you are going to chew up a lot of executions!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, don't use Current Issue for the Branch - use JQL for the Branch. And put the same code in your Condition as the JQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should log out the values after the two steps to see what it is getting. One after the original lookup issues and the second after the branch.
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.