Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to add parent issue summary to emails (batched notifications) Edited

I have sucessfully added a custom field to the batched email notifications velocity template(https://confluence.atlassian.com/adminjiraserver/adding-custom-fields-to-emails-batched-notifications-968669988.html).

But I just can't find any documention on how to add the parent issue summary to the batched email notification. Are there any variables available for this (e.g. like $parentIssueSummary)? If so, where can I find a list of the available variables / Information?

Background: we often have similar sub-tasks for a scope-item (task) - e.g. Analysis, Sign-Off, Test, etc. - so it would be helpful to directly see in the email notification to which scope-item (task) the subtask belongs.

 

1 answer

Hello @Claudia Böhm ,

for the moment it seems that there's no way to do this on batched notifications.

I analyzed the code decompiling the whole plugin and cannot make it work for getting the parent information. I cannot even get a variable that says if an issue is a subtask or not!

The $header variable only can give you the following parameters:

  • issueKey
  • issueSummary
  • projectName
  • projectUrl
  • issueTypeAvatar
  • issueUrl
  • addCommentUrl
  • issueState
  • issueStatus

I'm investigating if is possible to do this with some classes that the plugin has already defined, as the EmailIssue public class, but I think is difficult as it isn't static and I don't know if i'll be able to use it on the velocity template.

Hopefully someone from @Atlassian Support can help us on how to achieve this.

In my case I only need to retrieve the parent key of the subtask and put it on the mail body description and subject.

Regards.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

322 views 9 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you