Hi,
I want to send notifications to a slack channel for bugs that are created. However I want to exclude bugs that were created from slack itself - you can find these with this search:
text ~ "Issue created in Slack from a Message".
But because you can't say text does not equal, you have to create a filter for the above and then say not in the filter, so assuming the filter is called Issue created in Slack from a Message the JQL is:
type = Bug AND filter != "Issue created in Slack from a Message"
When I try to save this I get a popup:
Invalid JQL
Could not save project connection settings
Looking the request that was made, it makes a PATCH request with a 400 response:
{"error":{"message":"Invalid JQL","code":"INVALID_JQL"}}
Can anyone help?
Thanks
I ran into the same issue with saving JQL that referenced a filter. When filters are created, they are private by default. You have to update the permissions of the filter so that that they can be viewed by your organization.
Tip: At first I thought I had updated the permissions, but I forgot to hit "Add" before "Save".
Hi @James Kennard (Propagator) ,
Try with this JQL:
type = bug and description !~ "Issue created in Slack from a Message"
"!~" is the operator which you can use, when you search in text fields.
Hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.