File a bug from a failed run without filing it twice
Example input: a failed run’s summary, the project key HSP and a marker label the run always uses. The run searches JQL for an open issue carrying that marker first.
Expected result: one issue per real failure. When the search finds none, a POST to the issue endpoint with a fields object creates it; the multi-line description is built in Atlassian Document Format, while single-line fields take strings.
Check: the settable fields come from the create metadata, so a run that assumes a custom field exists fails when the project lacks it. Pagination uses nextPageToken and isLast, so a run that reads only the first page can miss its own earlier report.


