I’m trying to get the details (custom fields) of a Jira card but I can’t manage to get any of the custom fields.
Jira card:
I tried with the API and JS and both methods are getting the basic information but not the custom fields.
With API: https://api.miro.com/v2/boards/xxxxxxx/cards/345yyyyyyy
{
"id": "yyyyyy",
"type": "card",
"links": {
"self": "https://api.miro.com/v2/boards/xxxxx/cards/yyyyyy"
},
"parent": {
"links": {
"self": "https://api.miro.com/v2/boards/xxxxx/items/zzzzzz"
},
"id": "zzzzzz"
},
"createdAt": "2022-12-19T13:42:19Z",
"createdBy": {
"id": "uuuuuuuuuuu",
"type": "user"
},
"data": {
"description": "This is the descriptio",
"title": "Test Jira Incident"
},
"geometry": {
"width": 342.323283997474,
"height": 158
},
"modifiedAt": "2022-12-19T14:56:44Z",
"modifiedBy": {
"id": "uuuuuuuuuuuuuuu",
"type": "user"
},
"position": {
"x": 185.64376445455173,
"y": 366.9530191265535,
"origin": "center",
"relativeTo": "parent_top_left"
},
"style": {
"cardTheme": "#99ccff"
}
}
And with JS “await miro.board.get()”:
In the past, with SDK1,1. The method miro.board.widgets.get() seems to be working fine according to another post that I saw in this formum.
Can someone help me? I need to get the custom fields from the Jira card.
Thank you!