JQL API v3 problem fix

This commit is contained in:
Alamion 2025-09-23 00:10:51 +03:00
parent 5ae08dfcce
commit eeea7635e0
No known key found for this signature in database
GPG key ID: E5712F673595B31D

View file

@ -85,7 +85,7 @@ export async function fetchIssuesByJQLRaw(
startAt,
fields: fields && fields.length > 0 ? fields : undefined,
}));
return await baseRequest(plugin, 'post', `/search`, body);
return await baseRequest(plugin, 'post', `/search${plugin.settings.apiVersion === "3" ? "/jql" : ""}`, body);
}
/**