Is there a way to create an issue and set a custom field with a labels
custom field type?
#295
Answered
by
ctreminiom
breathingdust
asked this question in
Q&A
-
ie:
|
Beta Was this translation helpful? Give feedback.
Answered by
ctreminiom
Jul 27, 2024
Replies: 1 comment 1 reply
-
Hi @breathingdust, unfortunately, we don't have dedicated method to parse the labels customfield, but you can use the following code as workaround: var customFields = models.CustomFields{}
customFields.Fields = append(customFields.Fields, map[string]interface{}{
"fields": map[string]interface{}{
"customfield_10042": []string{"label-00", "label-01", "label-not-found"},
},
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
breathingdust
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @breathingdust, unfortunately, we don't have dedicated method to parse the labels customfield, but you can use the following code as workaround: