tap-jira icon indicating copy to clipboard operation
tap-jira copied to clipboard

Wrong API resource to query Components

Open nagypeter opened this issue 2 years ago • 0 comments

When Components is selected then it tries to use /rest/api/2/project/{projectIdOrKey}/component resource and throws exception because the correct one is: /rest/api/2/project/{projectIdOrKey}/components (with 's')

See doc: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-project-components/#api-rest-api-2-project-projectidorkey-components-get

https://github.com/singer-io/tap-jira/blob/4bd9abd922c19f3a2b1f10812c4c670d87025cfa/tap_jira/streams.py#L156

Tested with on-prem Jira, but most likely cloud version has the same issue.

nagypeter avatar Oct 27 '22 13:10 nagypeter