I have defined a numeric field in the atlassian-connect as follows.
"jiraIssueFields": [
{
"description": {
"value": "my metric"
},
"type": "number",
"name": {
"value": "CFP"
},
"key": "cfp"
}
],
And I can see it appears in my (sprint) reports as an optional metric (instead of story points) which is exactly what I want.
And I am able to add data to the issue and retrieve it via javascript doing this:
AP.request({
url: '/rest/api/2/issue/ $issue_key/properties/cfp'
type: 'PUT', ... etc.
I have checked and GET does retrieve the data using the same url as above.
BUT the data is not appearing on the reports, all issues are showing null or zero values.
Any suggestions where might I be going wrong?