Hi, I want to create an automation that automatically links the incidents that share the same parameter in a custom field which in this case is 10115, the scope of the rule is to multiple projects.
I will show you what I did, however it has not worked... I hope someone can help me to find the error and be able to run it successfully.
Custom field label: {{customfield_10115}}
Conditional set using a regular expression " [A-Z]+-\d+".
Then link with triggered occurrence.
I adapted the rule structure from the default rule provided by Jira for linking issues via comments.
Hi @Juan Camilo Gomez -- Welcome to the Atlassian Community!
When you note the rule has not worked, what do you observe happening?
Would you please post an image of the audit log details? Those may explain what you are observing.
Finally, when using the Issue Created trigger, that can fire so quickly that the data is not yet available for the rule to use. The symptom of that is some fields may appear empty or conditions will fail.
The work-around for that symptom is to always add the Re-fetch Issue action immediately after the Issue Created trigger. That will reload the issue data before proceeding, slowing down the rule a bit.
Kind regards,
Bill
Of course, these are the screenshots of the audit log before placing the "Re-fetch".
Once I added it, and changed something in the condition, I get the following error in the audit:
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Link-issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That error seems to indicate whatever is being passed to link the issues is invalid.
Would you please show the details of your Issue Link action?
If you are trying to link to issues with the same value in a custom field, your rule would need to branch to them with JQL and then link them to the trigger issue.
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.