I want to reduce the api calls to JIRA. so I want to get the list of projects using projects() method in Jira-python api. But I am only getting the key and the name of the projects. Any way I can get the lead's displayName using this method only?
I don't want to use the project(id) every time I need the displayName.
Hi - Any luck with this? Im struggling with the same I can extract name key and id but not leads descriptions etc.
Thanks
Hi Moses, Yes I was able to run the following code to get the information.
You can add the following to the URL:
https://Jira-instance.com/rest/api/2/project/?expand=lead"
This would give you the lead information. You can do description as well.
Let me know if you need more help.
Thanks
Tejvir Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your prompt response Tejvir,
Yes, thats the api I can call to get the information. But Im keen to get and process it with Python script. I was able to get projects with jira.projects() and filter through it and get name key and id but not any progress with extracting leaders
Thanks
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.
Thank you very much Tejvir, This was really helpful :) got me up and running
Cheers
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.