Hello everyone,
I am using Jira Server v8.20.10
My colleagues get too many reminder emails about different issues, so some of them will be just ignored if there is a filter activated.
I am trying now to create a unique Automation Rule. So if they have some blocked tickets without an answer for a while at the end of the week, they will get one reminder email with a short summary of what should they pay attention to.
I've started with Scheduled trigger, choose cron expression for (Friday's at 12 pm), then to JQL added -
status = blocked AND "Blocked Reason" = Customer and
Then I added an If-block like this:
reporter != issue.comments.last.author.name (since a reporter don't want to get a reminder about the issue he has just commented recently before emails are sent)
Then "Send email":
to Reporter
With Subject
Response Required: BLOCKED ISSUES from DevTools Summary
and Content "send as html":
<p>Hi {{reporter.displayName}},</p>
<p>A quick reminder that some of your tickets are blocked since a while.</p>
<p>Please, make sure, you've already reviewed this issue's to enable quick processing.</p>
<p>Summary:</p>
{{#issues}}
<ul>
<li><strong> Key: </strong>{{key}} </li>
<li><strong> Summary: </strong>{{summary}} </li>
<li><strong> Status: </strong>{{status.name}} </li>
<li><strong> URL: </strong> <a href="{{toURL}}">{{url}}</a> </li>
<li><strong> Assignee: </strong>{{assignee.displayName}} </li>
</ul>
<br>
{{/}}
<p>Thank you</p>
<p>Best Regards,</p>
<p>Development Tools</p>
The Problem is:
With this functionality, each reporter gets the list of all the blocked by customer tickets, not his own blocked tickets as a reporter. And I guess I have to expand my JQL like:
status = blocked AND "Blocked Reason" = Customer AND reporter = customer
or smth. like this, so that all reporters get only they own blocked by customers tickets, not all blocked by customer tickets.
I forgot to mention, in Rule Details, as an actor for this Automation Rule
- Actions defined in this rule will be performed by the user selected as the actor.
I choose "scv_jira-automation" and I think that's why when I try the JQL as reporter=currentUser() it shows me my 3 "blocked by customer" tickets, but when executing the rule there is no any "currentUser()" for this Actor, so I get the message:
Interesting is, when adding:
status = blocked AND "Blocked Reason" = Customer AND reporter = currentUser()
to JQL, there is a message - 3 issues found (which is correct - I expect one email about my 3 "blocked by customer" tickets), but while executing the rule then, there is:
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.