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

Is it possible to get the comment url through Smart Values?

Is it possible to get the specific comment url through Smart Values? 

I'm working on an email notification when a ticket transitions to another status. Part of what I'd like to include in the content of the email is the link of the last comment made to the ticket.

Here's the query I'm using which isn't working: 

<a class="jsd-issue-link" href="{{issue.comments.last.url}}">Please follow this link for the hyperlink/s.</a> </li>

The text format in the email notification is coming out as expected, it's just that the hyperlink isn't working. When I hover to check what url is used, it appears to be empty. 

1 answer

@Jillian Marabut 

according to Atlassian documentation , these are the only available properties 

  • {{issue.comments.last.body}} - Returns the body of the last comment.
  • {{issue.comments.first.body}} - Returns the body of the first comment.
  • {{issue.comments.reverse.body}} - Returns the issue's comments, in reverse order.
  • {{issue.comments.size}} - Returns the number of comments on the issue.
  • {{issue.comments.author.displayName}} - Returns the comment authors.

@Mohamed Adel Thanks! And yes, saw this too. Just a little curious since when you check individual comments it actually has its own url when generated. 

comment JIRA.png

Suggest an answer

Log in or Sign up to answer
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...

150 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