Hello dear community,
I would like to set up an automation rule for Jira:
If a risk item is linked to the problem item -> set field “Risk review necessary” to Yes.
I started with the trigger "When Issue is linked to all link types" and continued with the rule that actually works.
However, my trigger works only for a few types of links and only in one direction.
For example, Dependency ("has dependency" - yes, but "is dependent on" - no), also works only for "is duplicated by" but not for "duplicates", works for "is contained in" but does not work for "contains". For the other link types, the sending trigger does not work in either direction. Why is this happening? By selecting "When issue linked to all link types" I expect all the link types to be performed in both directions. Am I wrong or what could be the problem?
Kind regards,
Mykola
The rule's scope and in which project the issues exist determine if / when a rule will trigger with Issue Linked. That is, when the rule is defined in one project as single-project scope and issues in other projects are linked, the rule will not be able to access the other issues.
Are your issues all in the same project or in multiple projects?
Seeing the audit log details for your rule execution may also help the community provide suggestions.
Kind regards,
Bill
Hi @Bill Sheboy ,
I appreciate your help.
Yes, I´m working in the same project. And I would share the Audit logs as well if there would be something relevant, I rather would use them to solve the problem on my own but there is nothing helpful there. E.g. :
Kind regards,
Mykola
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for that information.
Regarding link direction, the rule only triggers one time when two issues are linked, not once for each issue. If your link could be added from either issue (by choosing the relevant direction), you would need an if / else block to handle both possible cases:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
as @Bill Sheboy already pointed out the main parts I would like to add another point that helped me a lot in the past.
When working with linked issues/issue linked trigger the terms "inward/outward" and "destination/source issue" become very important. The following (as I personally think) describes this pretty well and may help build the correct conditions/branches/actions in the automation rule. If you have your process/how are issues linked/which linktype is chosen and which direction then you should know the inward/outward direction and thus the source/destination issue.
Link Types and their directions are defined in your Jira Issue Settings. You can find those by clicking the cog in the upper right corner for settings/menu point "Issues"/then "Issue linking" in the menu on the left of the screen.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Atlassian User !
Try to use this structure: https://prnt.sc/x-WIvdQhdDjV (replace the necessary fields)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Uladzislau Samuseu ,
Thanks for quick response but I´m not allowed to use your link. Access blocked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.