You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: onpremise/statuscategory.go
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ import (
10
10
// StatusCategoryService handles status categories for the Jira instance / API.
11
11
//
12
12
// Use it to obtain a list of all status categories and the details of a category.
13
-
//
14
13
// Status categories provided a mechanism for categorizing statuses.
15
14
//
16
15
// Jira API docs: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-workflow-status-categories/#api-group-workflow-status-categories
@@ -34,9 +33,9 @@ const (
34
33
StatusCategoryUndefined="undefined"
35
34
)
36
35
37
-
// GetList gets all status categories from Jira
36
+
// GetList returns a list of all status categories.
38
37
//
39
-
// Jira API docs: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-workflow-status-categories/#api-rest-api-2-statuscategory-get
38
+
// Jira API docs: https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/statuscategory-getStatusCategories
@@ -49,18 +48,18 @@ func (s *StatusCategoryService) GetList(ctx context.Context) ([]StatusCategory,
49
48
iferr!=nil {
50
49
returnnil, resp, NewJiraError(resp, err)
51
50
}
51
+
52
52
returnstatusCategories, resp, nil
53
53
}
54
54
55
-
// Get returns a status category.
55
+
// Get returns a full representation of the StatusCategory having the given id or key.
56
56
//
57
-
// Status categories provided a mechanism for categorizing statuses.
57
+
// statusCategoryID represents the ID or key of the status category.
58
58
//
59
-
// Jira API docs: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-workflow-status-categories/#api-rest-api-2-statuscategory-idorkey-get
59
+
// Jira API docs: https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/statuscategory-getStatusCategory
0 commit comments