Open
Description
Once Jiralert starts, it produces the following output:
handleJiraError: api=Issue.Search, url=https://company-name.atlassian.com/rest/api/2/search?jql=project%3D%22TEST%22+and+labels%3D%22ALERT%7D%22+order+by+resolutiondate+desc&startAt=0&maxResults=2&expand=&fields=summary,status,resolution,resolutiondate&validateQuery=, **err=The value 'TEST' does not exist for the field 'project'.: Request failed. Please analyze the request body for more details. Status code: 400**
500 Internal Server Error: err=JIRA request https://company-name.atlassian.com/rest/api/2/search?jql=project%3D%22TEST%22+and+labels%3D%22ALERT%7D%22+order+by+resolutiondate+desc&startAt=0&maxResults=2&expand=&fields=summary,status,resolution,resolutiondate&validateQuery= **returned status 400 Bad Request**, body "" receiver="default" groupLabels=map[]
This is a known error.
It seems that JSESSIONID is necessary, which can also be passed in the URL (Reference: https://developer.atlassian.com/server/jira/platform/cookie-based-authentication/)
However, it needs to be after the URL path which is not possible in the jiralert.yml config file.
Is there a solution or workaround for this?
Thank you.