Dear all,
I've got some automations running globally but recently it stopped working and showing the following error:
BRANCH RULE / RELATES ISSUES:
Error searching for related issues. This is most likely because the following issues don't have a related issue of the type you specified. Try narrowing your search to only include issues that contain links to related issues: xxx
Any suggestions how to fix this?
One of the automations looks like this:
Hi @Xheneta G. Hyseni -- Welcome to the Atlassian Community!
Is the rule image you posted one which received that error?
And if so, would you please post an image of the audit log showing the details of the rule execution with that error?
Thanks, and kind regards,
Bill
Hi Bill,
Thanks for getting back to me.
Yes, I got 5 similar rules which are throwing the same error and the oneI posted is one of them.
Below you can see the audit log of the rule above:
Best,
Xheneta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I wonder if the link type's name is the problem causing the linkedIssues() function to fail as it contains punctuation. Perhaps try using that query in advanced search to observe what happens:
issue IN linkedIssues(TESTFDM-2, "Measures (to fix Finding)")
If it works and returns no results, please check your link types with the site admin to learn if there have been recent changes.
If that query fails with an error, you may have discovered a defect to submit to Atlassian Support:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Bill,
you made my day!
After testing the query which did not turn any results I renamed the link types without any punctuations and voilà it works!
Thanks a lot for the hint.
Best regards,
Xheneta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome! I am glad to learn that helped.
The documentation page for managing links does not describe this limitation, so I submitted some feedback for the Atlassian team to take a look: https://support.atlassian.com/jira-cloud-administration/docs/configure-issue-linking/
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.