Hi everyone, I am trying to create an issue using the Atlassian.SDK v13 library in .NET. However, I am getting a 401 with this error:
console.warn('DEPRECATED JS - contextPath global variable has been deprecated since 7.4.0. Use `wrm/context-path` module instead.');
I am using this line of code (below) to create a Jira client in C# which only accepts username and password. Is there a way to use the bearer token? I tried passing the bearer token / basic auth token as a password, but getting the same error.
Atlassian.Jira.Jira.CreateRestClient( url, username, password );
When I use POSTMAN with Bearer token auth, it works.
I guess my question is is this deprecated, is it even possible to use in this scenario? If not, is the only alternative to create a HTTP request and send it directly from the code, without using the library?
Any help is appreciated! Thanks!