The bold part below doesn't work, any idea to show the url and the summary of the parent issue(of a subtask) in the automation email body?
Hi,
A new {{issue.issueType.name}} - {{issue.url}} was created by {{creator.displayName}}
The summary '{{issue.fields.summary}}' and description '{{issue.fields.description}}' with the priority {{issue.priority.name}}
Linked Issues are;
'{{issue.fields.issuelinks}}'
Parent Issue is
'{{issue.parent.key}}' and '{{url}}| {{issue.parent.key}}'
'{{#lookupIssues}}
• {{url}}| {{issue.parent.key}} {{url}}| {{issueType.name}}: {{summary}}>
{{/}}'
This issue is part of the following releases:
{{#issue.fixVersions}}
* Fix version: {{name}}, released/to be on {{releaseDate}}
{{/}}
For Bugs; Reproduction Environment(s) are;
{{issue.[BUG] Reproduction Environments}}
Regards
Hi @Sabri Alyakut - A couple things:
It would help to see more context around this (screenshot of the entire rule). However, a couple things:
{{issue.parent.url}}
<a href="{{issue.parent.url}}">{{issue.parent}}</a>
If that doesn't resolve your issues fully, please share a screen shot of the rule and/or a screenshot of a sample email with notes on what you expect for outcome.
It was not mentioned below but still works! Thanks
{{issue.parent}}
Accesses the details of a subtask's parent issue. Can only be used when the active issue is a subtask, and can't be used to access a standard issue's parent issue.
Available properties:
{{issue.parent.key}} - Returns the issue key of the subtask's parent issue.
{{issue.parent.priority.name}} - Returns the priority of the subtasks's parent issue.
{{issue.parent.Epic Link}} - Returns the issue key of the parent issue's epic.
{{issue.parent.epic.summary}} - Returns the summary of the parent issue's epic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For this to work now since parent/epic changes (team managed projects) - the following formats need to be used to return for #lookupIssues
{{parent}} - returns the Parent key
<{{parent.url}}|{{parent}}> - links the Parent Key
{{parent.summary}} - returns the name (summary) of the parent
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.