Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation Failure

Karthik November 24, 2023

Hi, Im trying automation which will send a list of all the tickets released in a fix version to my Slack. This is the rule I used, the problem in I'm getting the message in Slack but without any ticket key in it, how can I achieve this? 

**New version released!**

Version: {{version.name}}

Tickets:
{{#each issues}}
* {{key}} - {{fields.summary}}
{{/each issues}}



The Slack message I'm getting:

**New version released!**

Version: TEST - Release list notification

Tickets:


Expected message:

**New version released!**

Version: TEST - Release list notification

Tickets: TEST-01
TEST-02
TEST-03

2 answers

1 accepted

4 votes
Answer accepted
Ste Wright
Community Champion
November 24, 2023

Hi @Karthik 

This should work:

  • Trigger: Version Released
  • Action: Lookup Issues
    • JQL - fixVersion = {{version}}
  • Action: Send Slack Message
    • Content = 

      **New version released!**

      Version: {{version.name}}

      {{#lookupIssues}}
      * {{key}} - {{summary}}
      {{/}}

Ste

Karthik November 24, 2023

Yes!!, @Ste Wright this is working thanks a lot. Is there any chance that these keys get a hyperlink to it and also to have the respective scope link of these tickets in the list?  

Ste Wright
Community Champion
November 24, 2023

Hi @Karthik 

Sure, this should work:

{{#lookupIssues}}
* <a href="{{toURL}}">{{key}}</a> - {{summary}}
{{/}}

Ste

1 vote
Ben Finn
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.
November 24, 2023

Hi @Karthik

Can you test the following:

{{#lookupIssues}}
{{issue.key}} - {{issue.summary}}
{{/}}
Karthik November 24, 2023

Hi @Ben Finn thanks for responding, tried this yet not getting the tickets list.

**New version released!**
Version: {{version.name}}

Tickets:
{{#lookupIssues}}
{{issue.key}} - {{issue.summary}}
{{/}}
**New version released!**
Version: TEST 2 - release list notification

Tickets:

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events