Hi everyone,
I'm working on a Jira Service Management automation and running into trouble with linking issues correctly.
šÆ Goal:
When a form is submitted (not just when an issue is created), I want to:
š§Ŗ Current Setup:
š§ What Iāve Tried:
ā Question:
How can I reliably link the newly created issue to the issue where the form was submitted? Is there a known issue with linking from a created issue to the trigger issue in this context?
Any help or examples would be greatly appreciated!
Thanks in advance š
Stefan
Without seeing the specifics of your rule and audit log details...
First, into which project are you creating the new issue: the same as the trigger issue's form or a different project?
If you are creating it a different project, the rule will need at least multiple-project scope to add the link after the issue is created. The reason is single-project scope rules can create / clone issues into other projects but they cannot view or alter them otherwise.
As an alternative, the link may be added when the issue is created (removing the Link Issues action) by selecting the Linked Issues field in the Create Issue action.
If that does not help, please post the following to supply more context:
Kind regards,
Bill
Hi Bill,
thank you for your response.
Let me start by saying, I ran the automation today again to create a new audit log for this purpose and for whatever reason it just worked now...
However, I am still posting the automation and the audit log from today as well as yesterday's here:
The only odd thing about the audit log is why it would show the created work item twice.
The only difference here is that yesterday's audit log shows a checkmark at Link work items but then doesn't show the actual tickets linked
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the additional information, and...it is quite curious where without changes it worked this time.
Perhaps this is a timing problem caused by a delay after the create or from the forms submitted trigger. To help mitigate that cause, after the Create Work Item action please add a Re-fetch Work Item Data action. That will slow the rule slightly to reload the data before it proceeds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Bill! will do that.
Kind regards,
Stefan
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.