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

fix(Jira Software Node): Fix comments limit and add sorting #9634

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

pemontto
Copy link
Contributor

@pemontto pemontto commented Jun 5, 2024

Summary

This PR fixes the comments limit which doesn't currently work. It appears it was borrowed from the Issue getAll which uses a POST request with maxResults in the body. The comments endpoint is GET only, changing maxResults to a query param works correctly.
The other change is to add the ability to sort by created ascending/descending (the only sort option for this endpoint). It maintains the default sort order (ascending).

Related tickets and issues

  • None

Review / Merge checklist

  • PR title and summary are descriptive. Remember, the title automatically goes into the changelog. Use (no-changelog) otherwise. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.

    A bug is not considered fixed, unless a test is added to prevent it from happening again.
    A feature is not complete without tests.

@n8n-assistant n8n-assistant bot added community Authored by a community member node/improvement New feature or request labels Jun 5, 2024
@Joffcom Joffcom merged commit a946ead into n8n-io:master Jun 5, 2024
9 checks passed
@github-actions github-actions bot mentioned this pull request Jun 5, 2024
@janober
Copy link
Member

janober commented Jun 5, 2024

Got released with n8n@1.45.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants