File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed
Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff 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.
166168func (t * MetaIssueType ) GetMandatoryFields () (map [string ]string , error ) {
You can’t perform that action at this time.
0 commit comments