Any help is appreciated. I need a Jira API query that pulls up all Jira users and a list of projects they have access to.
Something like this :
User 1
Project A
Project B
Project C
User 2
Project A
Project B
Project C
Hi @Fawad Haq
REST API access is also available for Jira Cloud:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/
However, to get what you want out of it there is no ready solution, it would require scripting and putting data together (for the specific structure you mentioned).
You specifically mentioned REST API, in case a paid App would be an option probable from Marketplace (https://marketplace.atlassian.com) there would be solutions (search team could be users or roles).
I am in doubt there is "that one single REST API call" to achieve the requirement.
Regards,
Daniel
You may try using the Jira API designed for Python. Connect to the Jira server using user credentials, then you can create an instance of JIRA class to access the projects. Please refer to the Jira API documentation for Python for more details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.