Forums

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

Connecting C# code to JIRA ?

Ankit Gupta (HCL TECHNOLOGIES)
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 15, 2022

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)

or

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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events