Skip to content

Commit e0ea06f

Browse files
committed
go fmt metaissue.go
1 parent 2095c75 commit e0ea06f

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

metaissue.go

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -148,19 +148,21 @@ func (p *MetaProject) GetIssueTypeWithName(name string) *MetaIssueType {
148148

149149
// GetMandatoryFields returns a map of all the required fields from the MetaIssueTypes.
150150
// if a field returned by the api was:
151-
// "customfield_10806": {
152-
// "required": true,
153-
// "schema": {
154-
// "type": "any",
155-
// "custom": "com.pyxis.greenhopper.jira:gh-epic-link",
156-
// "customId": 10806
157-
// },
158-
// "name": "Epic Link",
159-
// "hasDefaultValue": false,
160-
// "operations": [
161-
// "set"
162-
// ]
163-
// }
151+
//
152+
// "customfield_10806": {
153+
// "required": true,
154+
// "schema": {
155+
// "type": "any",
156+
// "custom": "com.pyxis.greenhopper.jira:gh-epic-link",
157+
// "customId": 10806
158+
// },
159+
// "name": "Epic Link",
160+
// "hasDefaultValue": false,
161+
// "operations": [
162+
// "set"
163+
// ]
164+
// }
165+
//
164166
// the returned map would have "Epic Link" as the key and "customfield_10806" as value.
165167
// This choice has been made so that the it is easier to generate the create api request later.
166168
func (t *MetaIssueType) GetMandatoryFields() (map[string]string, error) {

0 commit comments

Comments
 (0)