Here is an automate that add a label on some tickets retrieved from an SQL request.
For each change an email is sent. How to modify this automate to get only one email a the end?
With the Scheduled Trigger using JQL, the rule is executed for each issue found.
When you only want one email for your scenario, you may remove the JQL from the trigger and use that with the lookup instead:
Kind regards,
Bill
Hi Bill
Thanks for your answer; I removed the JQL in the trigger and I got this issue. It seems that if I need to use the edit issue later I can't remove the JQL part in the trigger ...
If I remove the For Current issue, I got the same issue
I forgot to say something important, I would like to get if possible only the issues that as been changed by the action Edit Issue (I could have a condition saying that if I already have the label xxxxx I won't add the label otherwise I will add it.
Thx in advance,
Agnes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is correct; to edit an issue with a rule, either the trigger or a branch needs to provide it.
If you only want to trigger the rule on that condition, the rule would instead need to trigger on Field Value Changed for Labels, and then add a condition to check the value needed.
Note this will operate on only one issue at a time, and so send an email for each one.
What is the problem you are trying to solve with this rule? Knowing that may help confirm it solves it.
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.