Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to get a component's lead #330

Open
greggilbert opened this issue Apr 9, 2019 · 0 comments
Open

No way to get a component's lead #330

greggilbert opened this issue Apr 9, 2019 · 0 comments

Comments

@greggilbert
Copy link
Contributor

greggilbert commented Apr 9, 2019

When looking up components through a project, you don't get the full component's details.

Consider:

project = jira_client.Project.find('WP')
components = project.components.find('Test API')
comp = components.first

comp.lead isn't defined, probably because the Project response doesn't have the full data.

However, if you then take the above and do this:

component = jira_client.Component.find(comp.id)

You do get the full Component object. So I guess the issue here is that you have to do a separate lookup to get the full Component data. Is this a known issue, or something to be remedied?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant