Forums

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

Smart value for JIRA Stories under an epic

Faiz Ansari
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!
December 14, 2023

I am trying to create a JIRA Automation rule, which should get triggered when an EPIC is Accepted and as an action it should send a mail to the Project Manager listing all the stories along with their statuses.

Could somebody help me on how to write a rule for this?

 

@Bill Sheboy / @Trudy Claspill / Anubody else if you could help please?

1 answer

0 votes
Trudy Claspill
Community Champion
December 14, 2023

Hello @Faiz Ansari 

Welcome to the Atlassian community.

Please show us the details of the rule you have so far.

Is the Program Manager specified somewhere in the Epic? If so, in what field?

Faiz Ansari
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!
December 16, 2023

@Trudy Claspill 
Yes, i have a field as "Project Managerr" in my EPIC Template.
Below is the approach I am using but I am not getting success.

 

image.png

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.
December 16, 2023

Hi @Faiz Ansari -- Welcome to the Atlassian Community!

Adding to Trudy's answer:

What is not working as you expect? 

I hypothesize the email is sent but there are no issues included.  Looking at your rule image for the Send Email action, I notice a typo:

{{#lookupissues}} should instead be {{#lookupIssues}}

Smart values are name, spacing, and case-sensitive.  When the wrong one is used, that becomes null and often fails with no errors.  Please try updating that smart value and observe the results.

Kind regards,
Bill

Like Trudy Claspill likes this

Suggest an answer

Log in or Sign up to answer