How to get all the assignees of an issue?

Hi All,

some project leads of our projects ask for a reporting feature which shows ALL the users of each issue who were Assignees. And they also need the info for each user how much time they spent as assignee with that issue (you know the developers get the money according these assignee-time spent duration.

We just upgraded our Jira to the version 5.1.2

How can we do that? Is there a plpugin or scripted field for that?

Thanks in advance for your hints and help!


4 answers

1 accepted

0 votes
Accepted answer

I'm not aware of a solution to this that's publically available, but I did it for a client many years ago.

It was more as an exercise in learning plugin code, and I did it for Jira 3.3 I think, but I can't imagine it would work very much differently

I took the code for the "participants" field as a starting point, and changed it so that instead of looking for reporter, assignee and commenters, it looked through the history for all previous assignees.

That would only solve the first part of the problem for you though - I think you'd need something more like a report for the "show how much time a user spent as assignee".

Hi Nic,

how can be found the code behind the participants field?

Hi Nic,

I am a bit lost hence I am not pro in scripting.

Can you please send me that script?

Hi Rumi,

You can get a list of the users who were involved in an issue from the Participants field. The easiest way of doing this is using the JIRA Toolkit Plugin.

An alternative way is using JQL and the WAS operator, e.g.:

project = "Angry Nerds" and (assignee was 'jsmith' or reporter was 'jsmith')

Hope this helps!

Exactly what I needed

0 votes

This is not a direct answer but shouldn't they be getting money based on the work logged instead of time spent as assignee? I am the assignee of hundreds of issues but I hardly spent time on all of them together!

Hi Jobin,

your answer is exactly the same as I responsed to those project leads:)))

But they said that they will ignore those issues where somebody spent only 10 minutes as assignee (e.g. default assignee) and they insist to this report.

Have you got any idea how to achieve that?

In the meanwhile I found the Jira Toolkit plugin bit the participants custom field which is provided by this plugin is displays only the users that have commented on the issue.

All the info is stored in the issue History so it can be done I guess.


I wonder that noone else ever needed this list...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 16 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

151 views 0 0
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