File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class JIRAReporter implements Reporter {
8282 // first search and check if there is an existing issue
8383 // replace all ()[]- with nothing
8484 const search = await fetch (
85- `${ this . url } /rest/api/3/search?${ new URLSearchParams ( {
85+ `${ this . url } /rest/api/3/search/jql ?${ new URLSearchParams ( {
8686 jql : `project = FLAKY AND summary ~ '${ payload . name . replace ( / [ \( \) \[ \] - ] / g, '' ) } '` ,
8787 } ) } `,
8888 {
@@ -97,7 +97,7 @@ class JIRAReporter implements Reporter {
9797 if ( ! search . ok ) {
9898 throw new Error (
9999 `JIRA: Failed to search for existing issue: ${ search . statusText } .` +
100- `${ this . url } /rest/api/3/search${ new URLSearchParams ( {
100+ `${ this . url } /rest/api/3/search/jql? ${ new URLSearchParams ( {
101101 jql : `project = FLAKY AND summary ~ '${ payload . name } '` ,
102102 } ) } `,
103103 ) ;
You can’t perform that action at this time.
0 commit comments