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: 

PYTHON-JIRA

Sakthi kavin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2020

I am trying to list all the projects after establishing the jira connection.

 

jira.projects()

 

 

But I find few projects missing. But I those projects are available in the UI and I can query there.

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
DPKJ
Community Champion
January 28, 2020

@Sakthi kavinWelcome to the community!

To add to @Nic Brough -Adaptavist-  have you passed 'auth' during initialization of jira object, if not, jira.projects() will give you list of projects that are anonymously visible.

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 28, 2020

Does the account logging in to run the python have "browse project" permission for all the projects it should see?