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 #42957 Fields with no values are not filled when creating artifact from API
    Infos
    #42957
    Kevin Traini (ktraini)
    2025-05-15 17:48
    2025-04-25 12:44
    44705
    Details
    Fields with no values are not filled when creating artifact from API

    When creating an artifact with the API using POST /artifacts endpoint, you usually only give values for some fields but not necessarily all fields. It leads that only for those first fields a changeset value is created, all others fields have no value and thus no changeset value. You can observe this behavior by fetching GET /artifacts/{id} just after: only given fields are returned and all others fields are missing.

    This problem doesn't appear when creating from the UI as the php form gives a value for each fields.

    Trackers
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Kevin Traini (ktraini)
    Reopen
    Empty
    Attachments
    Empty
    References
    Referenced by request #42957

    Follow-ups