Hello All,
I want to add sub task summary in a Notification through automation. Do we have any smart values to get the Sub task summary??
It is unclear what you mean by "in a notification".
To access the summary of a subtask of the trigger issue, there are at least two ways:
Kind regards,
Bill
Hello @Bill Sheboy
Actually I want to send a notification email using automation rule. In the subject line of the issue I want to add Summary of the Sub task.
Seems like it will work. But I have a doubt about this Smart value function - {{#issue.subtasks}}{{summary}}{{^last}}, {{/}}{{/}} what to fill in these {{^last}}, {{/}}{{/}}. Can you please provide example??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That part is to conditionally add a comma separator between the entries, leaving it off for the last subtask.
If you do not want a separator between the subtasks' summaries you may remove that part, leaving only this, with a single space between entries:
{{#issue.subtasks}}{{summary}} {{/}}
To learn more about smart value list handling, please take a look at this documentation:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you further elaborate on what you mean by adding a subtask summary "in a notification"?
Do you want to add a summary to the subtask through a parent issue or do you simply want to retrieve the summary of the subtask? If it's the latter, where do you aim to use this summary once you have retrieved it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Hamza Chundrigar
Thanks for the Quick Response.
I simply want to retrieve summary of the subtask in a Email Subject line in the send email Notification action in the Automations.
I want subtask summary to reflect in the email subject line.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could build out an automation rule that can run and checks for the condition where Issue Type = subtasks
And then use the smart value to return the subtasks issue summary:
{{issue.summary}}
I'm not exactly aware of how you choose to trigger the action, but I created a simple automation rule that retrieves the summary of a dummy subtask. Your automation rule might vary but here's the gist of it:
Best regards,
Hamza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's a list of Jira Smart Values that you can use: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Hamza Chundrigar
Actually my requirement is to Write an automation rule on parent task and then I need a sub task summary in to the parent task. Is it possible to do so??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.