Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to find out list of users who contributed to a Project in different capacities

Smita May 1, 2020

Hello all,

I Need to find out list of users who contributed to a Project in different capacities

e.g a user may be Reporter,Commenter, Assignee,Watcher,Project Lead , Administrator and also belongs to groups that are in mentioned in the permissions

 

Do we have any solution?

Thanks

Smita

2 answers

1 accepted

0 votes
Answer accepted
Smita May 1, 2020

Guys, I myself found a better way to do it. Sharing for Larger benefit.

 

1. Make all users in your instance get added to jira-software-users ( Or any one group where u see largest number of users from the instance)

2. Export and download all users

3. Get all jira-software-users in an excel

4. Filter the list and keep those users that you to delete

5. Write curl commands to delete them

6. Just run the commands 

 

Atlassian will pose checks against the Rest Delete API and if a user is engaged with a project either as an assignee OR reporter OR has commented on issues

It will not allow deletion of the user . e.g look at below error

{"errorMessages":["Cannot delete user 'abcde' because 138 issues were reported by this person.","Cannot delete user 'abcde' because 139 issues are currently assigned to this person.","Cannot delete user 'abcde' because they have made 9 comments."],"errors":{}}ECHO is on.

 

And we are done! We are left with right users which should not be deleted!

Yay! I gave myself kudos for this :) 

1 vote
Jack Brickey
Community Champion
May 1, 2020

There is no shortcut to this. You can run the JQL - project = abc - and export the result with all fields and then use excel with pivot table by user categories (reporter, assignee, watcher, etc.). For permissions you will simply need to manually inspect.

Smita May 1, 2020

yeah... I am sensing that

 

Especially when users have commented thats difficult

Any query to get users in comments specifically

 

Rest I will manage

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events