The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Customer export list

Deleted user
August 3, 2018

Hi,

Does it exist a way to export the customers of only one project ? 

I don't find it on the GUI. Maybe with request on the database or with the creation of a plugin.

Somebody have an idea ?

Best

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Keri
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2018

Hey Valerian,

 

You can grab this information from the database, here’s the query I used, although you might need to modify this for your database type:

 

SELECT p.pname, pr.NAME, u.display_name

FROM projectroleactor pra

INNER JOIN projectrole pr ON pr.ID = pra.PROJECTROLEID

INNER JOIN project p ON p.ID = pra.PID

INNER JOIN app_user au ON au.lower_user_name = pra.ROLETYPEPARAMETER

INNER JOIN cwd_user u ON u.user_name = au.user_key

WHERE pr.NAME = 'Service Desk Customers' AND p.pname = 'IT Service Desk';

 

In my example, the project name is IT Service Desk, or you could switch this to use the project key instead of the name, for example p.pkey = 'ISD'

 

I took this from the following KB article: How to get a list of users assigned to project roles for your project It can be modified for any role or project.

 

Hope this helps!

 

Cheers,

Keri

TAGS
AUG Leaders

Atlassian Community Events