Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use CreateOAuthRestClient from C# code?

Ankit Gupta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 14, 2022

I have downloaded Atlassian SDK from visual studio nuget manager. There is a method 

public static Jira CreateOAuthRestClient(string url, string consumerKey, string consumerSecret, string oAuthAccessToken, string oAuthTokenSecret, JiraOAuthSignatureMethod oAuthSignatureMethod = JiraOAuthSignatureMethod.RsaSha1, JiraRestClientSettings settings = null)

I have base Jira URL and a secret access token. However, the above method seems to have many parameters. Request someone to share a sample c# code how I can use this method to fetch JIRA issues in c# code.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events