Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to use JQL to extract a single comment on a ticket

Hello,
I am working on an automation to from Jira to send a message to slack about any comments made on a ticket. I gotten close but the when a comment is made on the ticket, it sends the message to our Slack bot with all comments made, not individually. The command I have below is: 

<{{issue.toUrl}}|*{{issue.key}}* {{issue.summary}}> has commented:
{{issue.comments}}

 

I know it has to do something with {{issue.comments}} and maybe the plural is the issue. What got as a result is this. Thank you!
Screenshot 2023-11-13 141037.png

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Murat Seven
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 13, 2023

Hi @dxiong and thanks for your question.

 

The expression in the screenshot appears as {{issue..reporter.displayName}}, but it seems to be incorrect. Could you please adjust it to {{issue.reporter.displayName}}?

Hi @Murat Seven 
Those were previous errors made in the comments. The screenshot is just the end results from the command 

<{{issue.toUrl}}|*{{issue.key}}* {{issue.summary}}> has commented:
{{issue.comments}}

It just bunched all of the comments together so we get disregard those as I've made the adjustments. I am just looking to do individual comments last made if that makes sense 

TAGS
AUG Leaders

Atlassian Community Events