Skip to content

fix(Jira): JIRA Integration (v2) Fails with "Cannot coerce empty String" Error#454

Open
marcinsiennicki95 wants to merge 3 commits intografana:mainfrom
marcinsiennicki95:fix-JIRA-Integration-v2-expand-field
Open

fix(Jira): JIRA Integration (v2) Fails with "Cannot coerce empty String" Error#454
marcinsiennicki95 wants to merge 3 commits intografana:mainfrom
marcinsiennicki95:fix-JIRA-Integration-v2-expand-field

Conversation

@marcinsiennicki95
Copy link

@marcinsiennicki95 marcinsiennicki95 commented Jan 7, 2026

Resolve #453

Provided a detailed description and a clear timeline of changes made in JIRA contact point in the issue


Note

Low Risk
Small serialization change limited to Jira search request bodies, covered by a new unit test; low likelihood of side effects.

Overview
Fixes Jira issue lookup requests by changing the issueSearch.Expand JSON tag to omitempty, so the expand field is excluded from the v3 /search/jql (and any) search payload when unset, avoiding Jira’s "Cannot coerce empty String" error.

Adds a focused unit test (TestIssueSearchJSON) to assert the expand field is omitted when empty and included when explicitly set.

Written by Cursor Bugbot for commit 16b1108. This will update automatically on new commits. Configure here.

@marcinsiennicki95 marcinsiennicki95 requested a review from a team as a code owner January 7, 2026 17:24
@github-project-automation github-project-automation bot moved this to In review in Alerting Jan 7, 2026
@CLAassistant
Copy link

CLAassistant commented Jan 7, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@JacobsonMT JacobsonMT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@marcinsiennicki95
Copy link
Author

Any update ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

JIRA Integration (v2) Fails with "Cannot coerce empty String" Error

3 participants