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

Fixed examples/create response output #357

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

manuelbcd
Copy link
Contributor

Description

Corrected example "create". It was throwing errors when trying to display "issue.Fields.Summary" because "Fields" is not part of POST response. This change displays issue.Self instead.

Information that is useful here:

  • The What: Switching output fields of "create" example to avoid errors.
  • The Why: It was provoking errors, "issue.Fields.Summary" was not present in the HTTP response.
  • Type of change: Bugfix
  • Breaking change: No
  • Related to an issue: Related with Documentation for custom jira fields #350 (comment)
  • Jira Version + Type: Cloud

Example:

Simply try examples/create

go run examples/create/main.go

@benjivesterby benjivesterby merged commit c77a7ee into andygrunwald:master Mar 3, 2021
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 this pull request may close these issues.

2 participants