Hello,
I am trying to set up a rule that sends an email to certain contacts when an item has been sat in a status for longer than 72 hours. The rule is working, however I get an individual email for every item. Is there a way to get Jira to publish this information in one email?
Thank you,
Emily
Hi Emily,
Use this in the text of your email:
<ul>
{{#lookupIssues}}
<li>{{key}} - {{summary}}</li>
{{/}}
</ul>
You can see more guidance here:
Thank you John.
Is there a way to include custom fields using lookupIssues?
Thanks,
Emily
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Emily,
Yes, and...to John's answer: custom fields are not yet supported by the Lookup Issues action.
A more complicated work-around for this is to call the REST API to run your JQL from the automation rule, and then parse the response with text and list functions to get what you need.
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.
One way to do this with automation is to use the Lookup Issues action. In that case, you would change your scheduled trigger to just be the schedule (not the JQL). For example:
One advantage of this approach is you can format the email as you wish and provide extra information. Please look here for more information about Lookup Issues: https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/#Smartvaluesgeneral---lookupIssues--
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.
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.
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.