Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #46384 Type error on POST /api/artifacts
    Infos
    #46384
    Kevin Traini (ktraini)
    2026-01-20 10:53
    2026-01-19 15:08
    48140
    Details
    Type error on POST /api/artifacts

    If your Tracker have a field with a numeric name (1 for example), when creating an artifact of it from the API with this payload:

    {
      "tracker": {
        "id": 3
      },
      "values_by_field": {
        "1": { "value": "hello3" }
      }
    }
    

    It returns a 200 response but with a PHP TypeError in the body.

    Trackers
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Kevin Traini (ktraini)
    Closed
    2026-01-20
    Attachments
    Empty
    References
    Referenced by request #46384

    Follow-ups