Hey guys,
I am currently struggling with an automated jira rule.
I would like to have the following rule:
Please let me know if you need more details.
Thank you in advance!
What I'd do:
issuetype=Task AND (created >= -4w OR status CHANGED TO Done AFTER -4w) AND parent IS NOT EMPTY ORDER BY parent
{{#lookupIssues}}
EPIC: <a href="{{parent.url}}">{{parent.summary}}</a>
- <a href="{{url}}">{{key}}- {{summary}}</a>
{{/lookupIssues}}
You can customize your email message as you wish
EDIT: I've added links to the message output :)
Hi, @Maurice Beuting
See if this helps you:
Go to Jira Automation
Create a New Rule
Set the Trigger
Choose "Scheduled" trigger.
Set it to run every Thursday.
Select "Run JQL" and use the following query:
project = "YOUR_PROJECT" AND issuetype = Epic AND (
issueFunction in hasSubtasks() AND issueFunction in linkedIssuesOf("status = Done", "is parent of")
OR updated >= -4w
)
Explanation:
Add Action: Send Email
Select "Send Email".
Configure the recipients (e.g., your team).
Use the following template for the email body:
Subject: Epic Updates - Week of {{now.format("MM/dd/yyyy")}}
Hello Team,
The following Epics have recent updates:
{{#lookupIssues}}
- **{{key}}**: {{summary}}
{{/lookupIssues}}
Best regards,
Team XXX
Save and Test
Best Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Layssa Souza ,
thank you for your support. Nice try, but I have already asked chatGPT as well and the proposed solution doesn't work. ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I ask because I had carried out the test in my environment, despite it being a DataCenter environment, the behavior should be the same.
Unfortunately, the only thing that I cannot validate is the return of the email, due to a restriction on the hosted server.
If an error is being presented, you can share it for evaluation :)
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.