[Jira-Automation] Add a comment on the issue when the rank is updated

admin641 September 28, 2024

Hi,

I am trying to setup a Jira automation rule to post a comment on the issue whenever the related issue is updated. To be precise and to give some context, whenever a particular issue type is ranked higher or lower, I need to automatically add a comment on the issue saying : Issue was ranked higher/lower by {{user}} on {{date}}.

I researched a bit on this and only way I could find in setting this up was by reading the changelog description {{issue.changelog.Rank.toString}} which unfortunately returns EMPTY in the log action and with which I cannot thereby proceed.

Can someone help me out with this request or any details to a thread or article explaining how I can implement this would be more than appreciated. I will attach a screenshot of what I have so far.

u8hlq1TqXk.png

 

Thanks in advance.

2 answers

1 accepted

7 votes
Answer accepted
Łukasz Modzelewski _Lumo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
September 28, 2024
admin641 September 28, 2024

This as really helpful, thanks a bunch @Łukasz Modzelewski _Lumo_ 🫱🏽‍🫲🏽

 

Realized after checking the above thread that I have been using {{issue.changelog.Rank.toString}} instead of {{changelog.Rank.toString}}. This worked like a charm!

1 vote
Cristian0791
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.
September 28, 2024

Hi Admin,

 

Automation for Jira doesn't offer a direct smart value for the Rank field, you can use third-party plugins like ScriptRunner or manual API integrations to get the desired functionality.

 

Hope this helps.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events