I'm using https://godoc.org/github.com/andygrunwald/go-jira#IssueService.GetCustomFields to get a custom field and I'm attempting to consume some of the data.
func getsomedata(issue_id string) {
issue, _, _ := jiraClient.Issue.Get(issue_id, nil)
fields, _, _ := jiraClient.Issue.GetCustomFields(issue_id)
data := fields["customfield_123456"]
}
Something similar to the following (unformatted) is returned as a single string, how can I convert this back into a struct or map? The end goal is to store "key.value" and "name.value"
[
map[
key:key.value
name:name.value
]
map[
key:key.value
name:name.value
]
]