How to count the number of issues assigned to individual users of a project Edited

I need to trigger an email to the individuals assignees of a project along with their issues count. please provide me the script.

1 answer

0 vote

You could create a filter for "assigned to currentUser() and resolution is empty" and then get each of them to subscribe to it.

@Nic Brough [Adaptavist]

Thanks for the reply, but i want the data like something below -

Hi (Assignee name),

For the "project", there are (count of issues) assigned to you. Have a look at these issues by clicking on the below link-

          "The URL of the issues" .

I want to trigger an email so how to use the filter?

It's not hard to write a script that will run JQL and do things with the results, including sending mails out.

I'm not sure how I would write this, as you've not defined when you want to run it (every morning would probably be of most use to the users, without spamming them all day)

@Nic Brough [Adaptavist]

Hi Nic,

Correct probably once in a day , can you please help me out with this.

@Nic Brough [Adaptavist] 

Note - We are using the cloud version of Jira

Well, the basics are http://scriptrunner-docs.connect.adaptavist.com/jiracloud/scheduled-jobs.html but I don't think you can write "email people" scripts in Cloud.

@Nic Brough [Adaptavist]

Thanks for the reply, but how to get the count of issues assigned to each idividual.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

178 views 0 5
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