, I tried to reconnect a few times. And the behavior is weird.
A call to the search API works fine:
**const** url = https://crewhu.atlassian.net/rest/api/3/search?jql=${encodeURIComponent(jql)}``
But a call to the update API fails:
**const** result = **await** axios($, {
method: "PUT",
url: url,
headers: { Authorization: Bearer ${this.jira.$auth.oauth_access_token} },
data: {
"fields": {
[cfZendeskTicketStatuses]: {"version":1,"type":"doc",
"content": [{"type":"paragraph","content":[{"type":"text","text":statuses}]}] }
}
}
});
WIth the message "Client must be authenticated to access this resource.".
And I did not change anything in my user permissions in Jira… Just crazy…