C# 클래스 Telerik.TestStudio.Jira.BugTracking.JiraComm

A utility class for communicating with a JIRA server using the REST API. See https://docs.atlassian.com/jira/REST/latest/ for the full JIRA REST API.
파일 보기 프로젝트 열기: TestStudio/JiraPlugin 1 사용 예제들

공개 메소드들

메소드 설명
GetProjects ( string &error ) : List

Get a list of all projects the current user has visibility of.

JiraComm ( string server, string user, Base64String password ) : System
SubmitBug ( string projectKey, string bugTitle, string bugDescription, int bugPriority, System.DateTime bugCreatedDate, string bugAuthor, string bugAssignedTo, List bugAttachments, string &error ) : string

Creates a new JIRA issue (a bug).

비공개 메소드들

메소드 설명
AttachFile ( string server, string user, Base64String password, string issueKey, IBugAttachment attachment, string &error ) : JiraFileAttached

Attach a file to a JIRA issue (bug). https://docs.atlassian.com/jira/REST/latest/#idp1726000

GetJson ( string server, string path, string username, Base64String password, string &error ) : JToken

Gets a JSON object from the JIRA server using an HTTP GET

GetJson ( string server, string path, string username, string password, string &error ) : JToken

Gets a JSON object from the JIRA server using an HTTP GET

PostJson ( string server, string path, string username, Base64String password, JToken json_request, string &error ) : JToken

Sends a JSON object to a JIRA server using an HTTP POST and gets the JSON response from the server.

메소드 상세

GetProjects() 공개 메소드

Get a list of all projects the current user has visibility of.
public GetProjects ( string &error ) : List
error string
리턴 List

JiraComm() 공개 메소드

public JiraComm ( string server, string user, Base64String password ) : System
server string
user string
password Base64String
리턴 System

SubmitBug() 공개 메소드

Creates a new JIRA issue (a bug).
public SubmitBug ( string projectKey, string bugTitle, string bugDescription, int bugPriority, System.DateTime bugCreatedDate, string bugAuthor, string bugAssignedTo, List bugAttachments, string &error ) : string
projectKey string The projects key e.g. TSCB.
bugTitle string The title of the bug.
bugDescription string The detailed description of the bug.
bugPriority int The priority of the bug.
bugCreatedDate System.DateTime The date the bug was created.
bugAuthor string The author of the bug.
bugAssignedTo string The person/group the bug is assigned to.
bugAttachments List List of files to attach to the bug.
error string Any errors during bug creation are written here.
리턴 string