I have a base JIRA url and an access token. I read somewhere that JIRA has deprecated the traditional flow to call the API via username and password. So, now how to access the Jira API using either of the below methods:
public static Jira CreateRestClient(IJiraRestClient restClient, JiraCache cache = null)
public static Jira CreateOAuthRestClient(string url, string consumerKey, string consumerSecret, string oAuthAccessToken, string oAuthTokenSecret, JiraOAuthSignatureMethod oAuthSignatureMethod = JiraOAuthSignatureMethod.RsaSha1, JiraRestClientSettings settings = null)
A sample code would be appreciated. Thanks in advance.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events