Skip to content

Conversation

hgriga
Copy link
Contributor

@hgriga hgriga commented Jan 13, 2025

Changelog and fixVersions are not initialized if the fields are empty in Jira.

This causes Typed property must not be accessed before initialization errors on our side.

@hgriga hgriga marked this pull request as ready for review January 13, 2025 14:37
@staabm
Copy link
Contributor

staabm commented Jan 15, 2025

@lesstif We are using this patch in production for a few months without problems.

Would be great if you could merge and release it. Please also setup github sponsors for your account, so my employer can support your open source work with some monthly money

Thanks in advance

@lesstif lesstif merged commit 46b2040 into lesstif:main Apr 5, 2025
2 of 3 checks passed
@moria-fullpath
Copy link

@lesstif @hgriga FYI - this commit causing failures for us as we don't have fixVersions field in our system,
We are getting an error:
"fixVersions":"Field 'fixVersions' cannot be set. It is not on the appropriate screen, or unknown."

@andreidamiean
Copy link

andreidamiean commented May 26, 2025

Some issue types on our project, don't have fix version field, and this PR throws the same error @moria-fullpath reported:

CURL HTTP Request Failed: Status Code : 400, URL:https://jira.jumia.com/rest/api/2/issue

Error Message : {"errorMessages":[],"errors":{"fixVersions":"Field 'fixVersions' cannot be set. It is not on the appropriate screen, or unknown."}}

@jamesRUS52
Copy link

Bad solution, I don't use fixVersions and now get the error
Error Message : {"errorMessages":[],"errors":{"fixVersions":"Field 'fixVersions' cannot be set. It is not on the appropriate screen, or unknown."}}

@staabm
Copy link
Contributor

staabm commented Aug 28, 2025

Bad solution, I don't use fixVersions and now get the error

feel free to provide a better fix

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.

6 participants