Is there a way to add somthing like "Your role" in a jira issue to an email?

We have more roles here than just Assignee and Reporter. When we recieve notifications it would be nice to have that included. We have a custom field that alows people to own issues. Also, if I am just a watcher on an issues it would be helpful to know that as well in the notification. We also have a "lead". Sometimtes it't not always clear why you recieve a notification so to be able to add that would be great. In the past we did with source code modification but we are trying to get away from that.

3 answers

1 accepted

Accepted Answer
0 votes

We had to make a plugin and mod the templates to get the info we wanted.

0 votes
Yew Teck En Atlassian Team Jun 23, 2014

It's not possible without editing the velocity mail template used by JIRA: https://developer.atlassian.com/display/JIRADEV/Adding+Custom+Fields+to+Email

I get that part but how do I get the template to figure out what your role is? For instance, if my role in the issue was "watcher" how do I get that to show in the email as "Your Role: Watcher" as oppsed to say a custom field value like, Owner. In which case it would say "Your Role: Owner" or "Your Role: Lead" which Lead would be another custom field that we have.

0 votes

Hi Jasen,

It seems you would like something similar to what was asked on the related post below:

https://answers.atlassian.com/questions/45630/add-reason-for-email-to-jira-notification

Unfortunately, this is not possible in JIRA by default, and requires some kind of customization (either by modifying the velocity templates or via code) to be achieved.

Cheers,

Danilo

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

29 views 0 2
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you