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

Support POST version for long JQL queries #657

Open
assembly-winston opened this issue Feb 7, 2024 · 0 comments
Open

Support POST version for long JQL queries #657

assembly-winston opened this issue Feb 7, 2024 · 0 comments

Comments

@assembly-winston
Copy link

What would you like to be added?

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-post

Add the POST version of the issue search API.

Why is this needed?

The current j.client.Issue.SearchWithContext() function uses the GET query, which limits the JQL query to 2000 characters.

Anything else we need to know?

Not really, this would be <20 lines max depending on implementation. In the simplest case, we can check the query length and auto-switch to POST if it's >=2000, add a method param, or we can just copy the implementation of the current one and name the function j.client.Issue.SearchThroughPostWithContext() or something.

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

Successfully merging a pull request may close this issue.

1 participant