Commit e376b0b
committed
feat(jira): add JIRA_SKIP_UNPARSEABLE_ISSUES to skip unparseable issue 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>1 parent f2de2dc commit e376b0b
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
| |||
0 commit comments