BREAKING CHANGE: Use create request body instead of custom parameters #459
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please describe what does this Pull Request fix or add?.
atm the use of custom fields is impossible, because the value could only be a string, so a field with type
option-with-child
which requires a{ "value": "foo" }
as value wont work.By allowing such change, the struct needed to changed so it would be a breaking change anyway.
While doing that i also removed all parameters which are a "part" of the struct and put them together.
Information that is useful here:
Allowing to transfer more complex custom field values
Currently only the value string can be used, but more complex structure is needed to for custom fields.
And the request struct type which was given is not the same which is mentioned in the jira docs, so i changed the field structure to match it again.
New feature
Code quality improvements
Yes, no backward compatibility
Not directly, maybe:
Cloud
Example:
Let us know how users can use or test this functionality.
// Example code
Checklist