Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I am looking to create a way that our team can see how long it has been since a service desk agent has commented on a ticket.
I tried to do this by creating custom fields for last commented by, and last comment date/time... I can select these in the queue creation filters, but they are not working.
if that isn't possible, just a way to create a queue which shows the last comment date/time would be great.
Thanks
I am assuming when you referring to the agent, you meant the agent who is assigned to the issue. If so, I would recommend that add an condition to your rule to check if the comment author is the same person as the issue assignee (agent), if so, then update your custom fields as needed.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
Hi Joseph, thank you for the rapid reply :)
thats not quite what I meant sorry, I didn’t explain very well.
I mean service desk agent (role type) so its essentially a way of checking if its a comment that has been raised by one of our internal team, not a comment by the customer that the last comment date is being pulled from.
or if its simpler, just a way to display the last comment date/time, and who the commenter was.. that would also be fine, its straightforward enough for us to see which our team are.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok. So, all of your internal team members are agents right? if so, you can expand the conditional check for each one of your members (multiple conditional check with if/else routine) to determine if comments are made to the issue are someone from your internal team. If it is TRUE, then populate your custom fields.
The drawback of this solution will be that your conditional checks for your team member's names are hard-coded. Unfortunately, I am not aware of any smart.value that can provide you with user's project role assignment.
If you just want to get the last comment and the comment's author regardless what role the comment author was, then you can just use the rule with Edit Issue action to populate your custom fields with the following smart values -
{{issue.comments.last.body}} Returns the body of the last comment.
{{issue.comments.last.author.displayName}} Return the name of the person who added the last comment on an issue
Hope this helps.
Best, Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joseph,
I still cant seem to get it working.
I have created the 'last commented by' and 'last commented date' custom fields. I have also created the automation (image below), and i have added the 2 fields to the 'view' screen for the service desk board i am applying the queue to.
However the queue is not pulling through any data. Do you have any idea what I might have wrong here?
Thanks, Melanie
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.