Forums

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

How to show epic name from a epic issue in automation (smart values)?

Felipe Fernandes
Contributor
July 26, 2022

I'm trying to send a Slack notification triggered by an Epic issue. However the Epic Name (which it's different from Epic Summary) always is shown blank.

 


this:

`{{issue.epic.name}}`, sent to `Approval`
Content & more details: {{issue.key}}

 

returns:

, sent to `Approval`
Content & more details: GP-123

 


Any clues? 

2 answers

2 accepted

1 vote
Answer accepted
Stefan Salzl
Community Champion
July 26, 2022

Hi @Felipe Fernandes 

As the documentation quotes {{issue.epic}} only works for issues that are added to an epic (so to say to get information from the "parent-epic").

In case the epic itself triggers your rule its scope is already on the epic issue and "Epic Name" is a field within the issue. Therefore the following smart value should work:

{{issue.Epic Name}}

 

image.pngimage.png

Hope this was helpful.

Best
Stefan

0 votes
Answer accepted
Mark Segall
Community Champion
July 26, 2022

Hi @Felipe Fernandes - Have you tried {{issue.epic.epic name}}?

Felipe Fernandes
Contributor
July 26, 2022

I did and haven't work. However I found this {{issue.Epic Name.substringBefore("-")}} and I don't know why, but It worked fine.

Suggest an answer

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

Atlassian Community Events