Hi,
I am trying to export a list of all projects and their associated leads from a Jira Cloud instance. I can see several similar questions and answers but haven't found one specifically for this. I don't have access to the database to use SQL.
I am able to get a list of all projects using the API: https://DOMAIN.atlassian.net//rest/api/2/project
Is it possible to do anything to include leads in the above?
Thanks in advance.
You will be able to use the Jira Command Line Interface (CLI) and use the action getProjectList to get the list of projects along with the lead.
Sample action
--action getProjectList
Regards,
Vijay Ramamurthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Can we get the projects list along with project administrators. In the above i am able to see project leads but not project administrators.
Many thanks,
Anil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Anil kumar kambhampati for Project Roles you need to use getProjectRoleActorList. I do it like this, --action getProjectRoleActorList --project "ABC" --role @all --file projectRoleActorList.csv.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found if you add "?expand=lead" in this way to the "2" not 3 rest api version...
<domain>//rest/api/2/project/?expand=lead
You'll get all Projects with Lead info. If you find a way to hone this to just the Lead's name, please let me know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.