I am using Atlassian.SDK Jira SDk to connect Jira from my .NET application . To connect JIRA I have the following calls but it does not connect to Jira properly .I am getting unauthorized access exception
var jira = Jira.CreateRestClient("https://xxxxx.atlassian.net", "xxxxx.xx@xxx.com", "xxx@xxx");
CreateIssue(jira);
public async void CreateIssue(Jira jira) {
var issue = jira.CreateIssue("RBT");
issue.Type = "Bug";
issue.Priority = "Major";
issue.Summary = "Issue Summary";
await issue.SaveChangesAsync();
}
which is the correct way to establish the connection .Also,How can i query all the created Issues
假设您正在使用Jira云实例(基于您的实例名称),不推荐使用密码进行基本身份验证(请参阅公告 ),请确保在执行基本身份验证时使用email:apiToken
对。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.