Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SD Automation: When an issue is created, "Link" to an existing issue with same custom field content

Arjan Mulder
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!
November 1, 2019

Hi!

I want to build a Project Automation rule for Jira Servicedesk which does the following:

When an issue is created (by a customer via the portal or otherwise), I want Jira to link this new issue to existing (unresolved) issues with the same (custom) field content. 

The goal is to create links between open issues from different sources for the same object (object specified in custom field). 

Example: 

When an issue is created with summary: "Object12345", link this issue to existing open issues with the same summary.

Is this possible in Project Automation for Jira Service Desk?

Thank you in advance!

1 answer

1 accepted

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 4, 2019

Hello Arjan,

Thank you for reaching out!

Unfortunately, the automation provided by JIRA Service Desk cannot link created issues to all issues with the same value for a custom field, since the linked issues field is not searchable with JQL in the automation.

That being said, I know two possible alternatives for you:

1 - you can configure a single "parent" issue, that will be linked to all issues with the same custom field. This would be the rule:

Screen Shot 2019-11-04 at 19.09.50.png

2 - You can use the app Automation for JIRA that provides you with the option to link multiple issues based in a JQL query:

Screen Shot 2019-11-04 at 19.18.27.png

Let me know if this information helps.

Arjan Mulder
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!
November 8, 2019

Hello Petter,

Thank you for your reply and offering the two possibilities! Your option #2 (with Automation for Jira) was the solution. The rule, when configured with the correct fields for my goals, does indeed link the issues (although a slight change was required). I have implemented the rule as follows:

(Please note that in my project, the "Custom field" changes directly after creation and is therefor just as good a trigger as "Issue created", with the added benefit of being able to filter with it as trigger field)

Knipsel.PNG

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 8, 2019

Hello Arjan,

Thank you for your details about how you were able to achieve your needs. That automation rule you create will absolutely help other customers looking for the same feature!

Also, I'm glad to know I was able to help. Have a nice weekend!

Like # people like this

Suggest an answer

Log in or Sign up to answer