Context - creating an automation to circulate in progress Jira items by assignee once per week.
Items to share are being created by JQL and it is validating fine.
Action step is looping against each issue fetched by the JQL and adding them one by one to the body email and sending the email after that.
Validation error on the rule -
Hi @mgupta
Do you have a screenshot of the automation, and the error in the audit log ?
How many issues are returned by the JQL.
As mentioned in the error message you may have reach the automation limit.
https://support.atlassian.com/cloud-automation/docs/automation-service-limits/
Regards
Hello @mgupta
from your description, I would first check whether the rule is doing a JQL search and then iterating through each returned issue one by one.
If yes, then the problem may be less the email action itself and more that the rule scope is simply too broad. A broad JQL combined with a loop can consume Automation capacity quite quickly, especially on Standard, even if you send only one final email.
The message about warnings by itself is not the main problem, because warnings do not always stop the rule. The more useful part is the audit log error below it, since that should show whether the rule is hitting validation, throttling, or simply processing too many items.
So I would suggest checking:
So my first suspicion would be:
the rule is not really failing because of the email itself, but because it is processing too many issues one by one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @mgupta
For a question like this, context is important for the community to help. Please post the following:
Until we see those...
That error message means what it states: the rule was modified while trying to run it, or something the rule does exceeded usage limits or service limits. Seeing your complete rule and audit log details will help clarify what is happening.
Also, when you want to send one communication per assignee weekly, consider using:
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.
Hey Bill, thanks for the help. Here's the screenshots for context -
Rule -
Trigger with the JQL-
JQL = project = ET AND status IN ("In Progress", "IN QA", "READY FOR DEV", "UAT SIGNOFF", "To Do") AND "Start Date" >= startOfWeek() AND "Start Date" < startOfWeek("+1w") ORDER BY assignee ASC, "Start Date" ASC
Action -
Hi,
Here are all ET issues with Start Date in this week:
|| Key || Summary || Assignee || Status || Start Date || Due Date || Sprint ||
{{#issues}}
| [{{key}}|{{url}}] | {{summary}} | {{assignee.displayName}} | {{status.name}} | {{Start Date}} | {{duedate}} | {{sprint.name}} |
{{/issues}}
Thanks,
Jira Automation
Audit log error -
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.
yeah that didnt help.
What if you run the rule manually? In the 3 dots near the toggle, you can run it manually. see if that gets you any logs.
Also can you add here:
1. Test the query on the search item section. see if you get what you need.
2. a screenshot of the send email action
Add the query here and same for the email you are sending.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for those images, @mgupta
Based on what I see in the rule details, I wonder: are you using a service account for the rule?
And, related to the scheduled trigger:
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.