How to email all proejct leads in Jira?

How to email all proejct leads in Jira?

The administrator email option from jira does not have an option to email by project lead role.

How can I send notifications to all leads?

I do have about 100 projects, so manual work is not quite an answer.

2 answers

1 vote

I'm afraid manual work is the answer, as you say, it doesn't have the project-lead option.

I'd be tempted to scrape the list-of-projects screen for the names, then add them to a group.

I dis something close to that: I just emailed all the project administrators instead. More people but it should also cover the leads too.

That was another good option - I generally assume that project admins might need to know stuff (especially if the nominated lead is on holiday!)

I did't want to do this manually and don't want to bother with looking through the Plugins so I put something easy together. Just put this code in the Chrome console when you are viewing the Project list and it will give you some emails.


var htmlList = $x('//*[@id="project-list"]/tbody/tr/td[5]/a/@href');
function printAllProjectLeads(array){
var list = [];
var email = "";
function log(e, i, a){
var name = e.value.split("=")[1] + email;
if(name != "JIRA.Unassigned" && list.indexOf(name) == -1)

If you don't have access to the admin list view you can use:

var htmlList = $x('//*[@id="content"]/div/div/section/div/div/div[2]/div/table/tbody/tr/td[4]/a/@href');

Which JIRA do you use ? JIRA 4.4.1 and above has the option to send mails to 'Project Role'.

Understand, but we handle such situations by having a project role 'Project Lead'.

Whenever we create new project the lead will be added to this role. Hope this works for you too.

Instead of, or as well as the project lead? Seems like unneccessary work to me.

Project Lead is not a 'project role', hence Sorin's question!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,656 views 18 21
Read article

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