Forums

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

How to show the Priority in the slack automation

Mario Amaya (x)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 6, 2023

Hey everyone,

 

I would like to know if anyone has a guide with the formatting to show different things from the Issue ticket on Jira on the Slack channel, for example:

 

to show the reporter i put  " *{{reporter.displayName}}* "

to show the ticket summary i put " <{{issue.url}}|[{{issue.key}}]{{issue.summary}}>* "

 

Do you have a list for example i'd like to show the priority and other things.

Screenshot 2023-07-06 at 10.56.36 (2).png

2 answers

0 votes
Bill Sheboy
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.
July 6, 2023

Hi @Mario Amaya (x) -- Welcome to the Atlassian Community!

I believe you want {{issue.priority.name}} for that one.  The attribute displayName only applies to user fields, and for other fields the human-readable value is often name or value.

Next thing, here is the reference of issue fields: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

Finally, when in doubt of the smart values for a field, you can try this how-to article.  Essentially you identify an example issue with your field, call the REST API with a browser, and then search for your field to find the smart value and any attributes.  And if you do not see your field, it is likely not supported by automation rules.  https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

0 votes
Fernando Eugênio da Silva
Community Champion
July 6, 2023

@Mario Amaya (x) , Welcome to the Atlassian Community!

 

You can check this doc about Jira Smartvalues and get what is necessary for you: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

 

Hope this helps :)

Suggest an answer

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

Atlassian Community Events