Hello Community,
I am seeking assistance with automating the linking of cloned tickets between our Support and Development projects in Jira. Here is the scenario and the steps I have taken so far:
Support Ticket Creation:
Cloning to Development:
Linking Tickets:
SupportKlon - {{issue.summary}}: {{issue.key}}
This automation works perfectly. The support ticket is successfully cloned into the Development project with the correct data, including the issue key and summary.
SupportKlon -
originalIssueKey
{{issue.summary.substringAfterLast(": ").trim()}}
key = {{originalIssueKey}}
relates to
Automation Not Triggering:
Issue did not match the specified JQL (most likely). The selected rule actor does not have permission to view the issue (or its security level). The issue was deleted by Jira or was not yet indexed (rare). We recommend using the "Issue Fields Condition" for more consistent results.
Permissions:
JQL Validation:
key = {{originalIssueKey}}
in Jira finds the issue correctly, indicating that the smart value extraction and JQL are likely correct.Could anyone provide guidance or suggestions on how to resolve this issue? Specifically:
Any help or insights from the community would be greatly appreciated!
Thank you,
First, some ideas to fix the rule symptoms and then a simplification...
By default, the actions of one rule do not trigger others. When you want the actions of one rule (e.g., your support project rule) to trigger other rules (e.g., your development project rule), the downstream rule should enable the option in the details at the top for "Check to allow other rule actions to trigger this rule..."
Next, rules have scope...that is, which projects they can access / impact. Project-scope rules can only create / clone issues in other projects, but they cannot view or edit them. When a rule needs to impact multiple project issues, it needs to be global or multiple-project in scope. If your Development Project rule was multiple-project, it would work (with some adjustments). Rules with global or multiple-project scope must be configured by your Jira Site Admin in the global automation area.
Okay, now for a simplification: if your Support Project rule was multiple-project in scope, I believe it can do this without the need for the Development Project rule. For example:
Doing this will eliminate the need to store the Support Project issue's key in the summary of the other one.
Kind regards,
Bill
If you are willing to try a third-party app for your cloning needs, you could try our Deep Clone for Jira.
Deep Clone can link the cloned issues to the original issue and can be included in your existing automation with a looping transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luka,
Thanks for your response. Unfortunately, a third-party solution is not an option, as I don't have the permissions to set this up (I am not the Global Admin of our Jira environment). Additionally, it won't work due to internal policies.
I'm from Germany, and the company I work for takes data protection and GDPR very seriously. I will look into implementing Bill Sheboy's approach instead.
Best regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo @Robin Specht
Kein Problem :)
Wir sind auch aus Deutschland und verstehen die Limitationen der DSGVO natürlich, aber ich denke, jedes Unternehmen kann unsere Apps DSGVO-konform verwenden. Unsere Apps werden, je nach Standort der Jira Instanz, auf Servern in der EU betrieben, sogar in Deutschland, um genau zu sein.
Wir erlauben es auch, die Informationen, die wir speichern, auf ein absolut technisches Minimum zu reduzieren. Mehr dazu hier.
Grüße aus Karlsruhe.
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.