I've automated a Slack message every morning for urgent tasks due within a week.
I would like to know how to include the name/summary of the parent issue in this message (doesn't need a link), as it can be confusing to have only the sub-task summary without its parent.
Here is the message:
Good morning <@xxxxxxxxxx>!
Here are your most urgent tasks over the next week, sorted by due date and priority
{{#lookupIssues}}
• <{{url}}| {{issue.parent.key}}> <{{url}}| {{issueType.name}}: {{summary}}> | Priority: *{{priority.name}}* | Due in: *{{duedate.diff(now).days.abs}} days*
{{/}}
_Please put a Due date if "Due in" field is blank._
If you need help with any task, check the "Other members assigned" field on the task to see who to ask.
I would appreciate any help with this! Thank you
When you are inside of the lookup issues iterator, just refer to the field name's smart value and not {{issue...}} Then you would just need {{parent.summary}} inside the lookup loop.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Niccolo Ossude ,
I'm Nithaya from the Automation team here at Atlassian.
Did you manage to make it work with {{issue.parent}} ? It should work with {{#lookupIssues}}.
If not, can you share any more detail or a screenshot about the automation rule you were wanting to create, to help us understand how we can support your use case?
Cheers,
Nithaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Niccolo Ossude
Welcome to Atlassian Community !!
Is the parent issue the Epic Issue type ?
Did you try {{issue.parent.epic.summary}}
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.parent--
The above URL lists the available smart values for {{issue.parent}}
Hope this helps !!
Regards,
Vishwas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Community!!
May I know if it's not working or are you looking at suggestions?
Let me know
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Pramodh M and @Vishwas !
I've tried to use smart values for {{issue.parent}} from
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.parent--
but these aren't working, I believe these don't work when I use {{#lookupIssues}} ? This is the only explanation I have right now.
Also, the Slack message includes Tasks and sub-tasks, but my priority is to include the Task name for sub-tasks. Having the Epic name for the Tasks would be a bonus.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.