Tuleap 16 est là ! Assistez à l'événement virtuel le 17 octobre à 10h30. Inscrivez-vous ici !

    •  
      request #13740 REST changeset representation can sometimes add a key to field value
    Infos
    #13740
    Yannis ROSSETTO (rossettoy)
    2019-08-09 17:50
    2019-08-09 14:50
    14928
    Details
    REST changeset representation can sometimes add a key to field value
    When a field in the artifact returns a null value through REST (for instance permissions on artifact field) then some keys are added into the json content:

    "values": [
    "0": {
    "field_id": 596,
    "type": "date",
    "label": "Start Date",
    "value": "2019-06-24T00:00:00+02:00"
    },
    "2": {
    "field_id": 600,
    "type": "sb",
    "label": "Status",
    "values": [
    {
    "id": "405",
    "label": "Planned",
    "color": null,
    "tlp_color": null
    }
    ],
    "bind_value_ids": [
    405
    ]
    }
    ]

    This keys can also be added into the webhook payload.
    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Yannis ROSSETTO (rossettoy)
    Closed
    2019-08-09
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2019-08-09 17:50
    Integrated into Tuleap 11.4.99.112.

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2019-08-09