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

Error when calling jira.custom_fields() #1484

Open
mofojed opened this issue Dec 26, 2024 · 0 comments
Open

Error when calling jira.custom_fields() #1484

mofojed opened this issue Dec 26, 2024 · 0 comments

Comments

@mofojed
Copy link

mofojed commented Dec 26, 2024

When calling jira.custom_fields(), an error is printed out:

Error in Python interpreter:
Type: <class 'requests.exceptions.HTTPError'>
Value: 404 Client Error: Not Found for url: https://deephaven.atlassian.net/rest/api/2/customFields?startAt=1&maxResults=50

It looks like it's trying to access a REST API that no longer exists. I think what it should be using instead is the /field endpoint:
https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-fields/#api-rest-api-2-field-get

Workaround is calling the URL directly:

fields = jira.get(jira.resource_url("field"))
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