Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Display who the last comment (public and internal) was from

Hi there!

We want to show our agents who the last comment was from. The workflow currently looks like this:
Bildschirmfoto 2021-06-09 um 09.20.40.png

Both edits work (as in the automation does not fail), but only the first field "Last Comment" is populated. What do we need to do populate "Last comment from" with the author of the comment?

 

Cheers for your help,

Felix

1 answer

1 accepted

0 votes
Answer accepted

Hi @Felix Hüsken , welcome to the Community!

You can use a smart value of {{issue.comments.last.body}} to show the last commend added, and then {{issue.comments.last.author.displayName}} to display the name of the user who left this last comment.

Hope this helps!

Thanks a lot Callum!

{{issue.comments.last.author.displayName}} unfortunately produces an error for both public and internal comments: (Specify a valid value for customfield_10193 (customfield_10193))

 

Do you have an idea why?

@Felix Hüsken So that means that either the smart value isn't returning any value and the Edit issues action is failing, or the value returned somehow isn't being set.

What is the field type of customfield_10193? E.g. text field, user picker etc?

@Callum Carlile _Automation Consultants_ Cheers! It's a user picker (single user): 

Bildschirmfoto 2021-06-10 um 10.47.30.png

@Felix Hüsken Ahh okay, for setting the user picker field try using the smart value of {{issue.comments.last.author.emailAddress}} - the user picker fields act slightly differently to text fields.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

147 views 9 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you