Hi,
I am trying to call search url using jwt authentication. Endpoint is working fine without jql. But I am getting 401 error whenever I am trying to call with jql . Here is the url I am trying to access https://xxx.atlassian.net/rest/api/2/search?jql=updated <= -3d .
Right. Can you now provide what scopes you have requested in your Atlassian Connect descriptor? It may be related. Though I would have imagined that a 403 would have been thrown instead.
Because the entire query string is encoded in the first example, Jira thinks that your JQL query is updated>="-12h"&startAt=1&maxResults=100 - ie you should not encode the & and = in the query string between query string parameters and their values.