Skip to content

feat(jira): add JIRA_SKIP_UNPARSEABLE_ISSUES to skip unparseable issu…#8950

Open
Murad-Suleymanov wants to merge 1 commit into
apache:mainfrom
Murad-Suleymanov:jira-skip-unparseable
Open

feat(jira): add JIRA_SKIP_UNPARSEABLE_ISSUES to skip unparseable issu…#8950
Murad-Suleymanov wants to merge 1 commit into
apache:mainfrom
Murad-Suleymanov:jira-skip-unparseable

Conversation

@Murad-Suleymanov

Copy link
Copy Markdown

Summary

Adds an opt-in config JIRA_SKIP_UNPARSEABLE_ISSUES to the Jira collectIssues subtask.
When an issue page returns a 2xx status but a body that can't be parsed as JSON (e.g. a
truncated/partial response), the subtask currently fails and aborts the whole Jira collection.
With this flag set to true, the unparseable page is logged and skipped so the rest of the
collection finishes. Default (false) keeps current behaviour.

Closes #8949

…e pages

When a Jira issue page returns a successful (2xx) status but a body that
cannot be parsed as JSON (e.g. a truncated/partial response), collectIssues
currently fails the entire subtask and aborts the whole Jira collection.

This adds an opt-in config JIRA_SKIP_UNPARSEABLE_ISSUES that, when true,
logs a warning and skips the unparseable page so the rest of the collection
can finish. Default behaviour (false) is unchanged.

Signed-off-by: Murad-Suleymanov <muradsuleymanov868@gmail.com>
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.

[Feature][jira] Add JIRA_SKIP_UNPARSEABLE_ISSUES to continue collection when an issue page can't be parsed

1 participant