Hello Community,
I am in the process of setting up an automation rule in Jira and could use some assistance. Here is the rule I'm trying to configure:
I've successfully set up the first part of the rule. However, I'm encountering an issue with the "Edit Issue Fields" action. Specifically, I am receiving the following error message:
This component may be incompatible. One of the following needs to be produced earlier in the rule by the trigger or with a 'for each' branch for this component to work: Issue.
Could anyone provide guidance on how to resolve this error or suggest a workaround? Your help would be greatly appreciated.
Thank you in advance for your support.
Hello @Sunny Liao
Welcome to the Atlassian community.
The problem is that you have created your branch based on Assignee, so the actions in the branch don't have a pointer to a specific issue to update.
Are you trying to send each Assignee one email listing all the relevant issues, or are you trying to send each Assignee one email for each issue?
I am trying to send each assignee an email listing all the relevant issues assigned to them. For each of these issues, I will update the “Housekeeping Email Sent” field to 1. This will create a record indicating that the issue has been notified to the assignee.
In the second round, if an issue has not been updated for 4 weeks, we will send a follow-up email. At that point, we will filter the issues to include only those with the “Housekeeping Email Sent” field set to 1.
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 the clarification.
You need to, essentially, branch to each issue found in the Lookup Issues to update the issue.
However, you cannot create a branch within a branch.
One small change I would recommend is in your first Lookup add to the JQL the criteria Assignee is not empty. That will prevent the second branch from trying to execute for the unassigned issues.
I think one solution would be for you to add another branch in parallel to the Assignee branch you have currently. For this other branch, branch on the smart value for distinct key values in the first Lookup Issues results and have an action to update the Housekeeping Email Sent field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Trudy Claspill
I have tried to create another branch and set {{lookupIssues.key}} as the Smart value, however the edit issue is still having error.
May I know why? and how to fix it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sunny Liao
Adding to the suggestions from Trudy...
You describe checking for updates to issues within a time frame, send only one email communication per assignee spanning their issues, and then update the issues.
There is no nested branching to support a scenario like this. As Trudy described, your branch on the distinct assignee does not provide an issue for the Edit Issue action.
I can think of two ways to solve this:
Kind regards,
Bill
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.