Miro REST API not able to fetch Card color

  • 17 November 2023
  • 0 replies
  • 18 views

Badge

Hi Team,

We are trying to differentiate cards on the frame by the color ( Epic : Red , Story: Blue, ...)  and using REST Api we are not able to see the color information. May i know if i’m missing something or is there any workaround.

As there is no API to get jira_card , we thought of using color to differentiate the card types by color. This is very important for us to segregated cards via API for further analysis

Below is the example of card fetched via rest api

{

    "id": "3458764570230418111",

    "type": "card",

    "data": {

        "description": "<p>Acceptance Criteria : Users can set preferences; system suggests matches based on preferences; accept/reject matches.</p><p><br /></p><p>Benefit Hypothesis : Blah Blah Blah</p><p><br /></p>”,

        "title": "Title Blah"

    },

    "style": {

        "cardTheme": "#f24726"

    },

    "geometry": {

        "width": 671.9075024462501,

        "height": 281.3612666493672

    },

    "parent": {

        "links": {

            "self": "https://api.miro.com/v2/boards/uXjVNZLQxyA%3D/items/3458764570230418036"

        },

        "id": "3458764570230418036"

    },

    "position": {

        "x": 1873.8805458390198,

        "y": 567.9500550345551,

        "origin": "center",

        "relativeTo": "parent_top_left"

    },

    "links": {

        "self": "https://api.miro.com/v2/boards/uXjVNZLQxyA%3D/cards/3458764570230418111"

    },

    "createdAt": "2023-11-17T04:33:29Z",

    "createdBy": {

        "id": "3458764552573798244",

        "type": "user"

    },

    "modifiedAt": "2023-11-17T04:51:24Z",

    "modifiedBy": {

        "id": "3458764552573798244",

        "type": "user"

    }

}


0 replies

No replies yet...

Reply