Dear all,
We have a need to send by email all issue comments list in the email body.
how to do that from automation rule ?
regards
Hi @serge calderara ,
you can use the smart value {{issue.comments}} to pull all comments or {{issue.comments.last}} to pull the most recent comment. You simply add that to the body of the email. With that said when do you want to trigger this and are there any conditions?
@Jack Brickey , that works thanks
but is there a way to get only All comments from "Reply to customer" tab ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @serge calderara , so is this Jira or Jira Service Management? I am unaware of internal/public comment properties in Jira. Regardless, there is a reference to internal comment properties in the documentation but I have not attempted pulling the value/data of only public comments. I have used in conditions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Amr Selem , I don't understand your request. What code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is an example below. If you want a daily email then change the trigger to "scheduled" and set to run at the desired time. Please not the example will show all historical comments not just any added that day. There is not a way to limit the display to "daily" comments AFAIK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Remove the space between the period and "Comments". It should be {{issue.comments}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok so you are not referencing any issues in this automation. For this to work, you must reference one or more issues. So which issue do you want to send an email for? Do you want to send out an email for a single issue or many issues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All issue in all projects? This seems to be a bad idea. You could end up with thousands of emails. Maybe you only want an email on issues that have been updated that day in a specific project. If that is what you want then you need something like below ...
Keep in mind that you are going to get an email for each issue returned in the lookupissues branch.
if you want something different, please detail precisely. What issues do you want to receive an email for. It is difficult for me to assist without truly understanding your goal. Finally, I highly recommend looking at the documentation on automation and searching within the community. Good examples of what others have done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I work on project management templet as all our projects are epic in one project my team add daily comments for their task, I want to send a daily email to the supervisor containing each comment added on this day
the email should contain
- team member name
- issue summary
- comments
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 need to insert the JQl query in the rule to include the project name, otherwise the email will be blank @Amr Selem
I don't think Jira is capable of summarising all comments into one summary. The tests I have done results in what @Jack Brickey said, in that for every issue found an email will be sent. Annoyingly this is not what I need...
I wish Atlassian could just sort out these basic functions for automations...
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.