Feature #34797

Make default_assignee available through API

Added by Sébastien Lardière about 1 month ago. Updated about 1 month ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Marius BALTEANU% Done:


Target version:-


Since #33113, the default_assignee field in a project is available through the API, but in read omly : we cannot create a project with this field through the API.

Maybe I'm wrong, then, please, let me know how can I do that ? 

Is this feature can be added in the API ? 


request.png (84.9 KB) Marius BALTEANU, 2021-02-24 19:35


#1 Updated by Marius BALTEANU about 1 month ago

  • File request.png added
  • Status changed from New to Closed
  • Resolution set to Invalid

API already supports this, but it can be used only when the project that you created is a subproject and it inherits the members, otherwise, you cannot used it because the project has no members and the default assignee needs to be an existing member.

On my instance (latest trunk), the following request:

created the project with default assignee and version:

    "project": {
        "id": 12,
        "name": "abcde",
        "identifier": "abcde",
        "description": null,
        "homepage": "",
        "parent": {
            "id": 1,
            "name": "eCookbook" 
        "status": 1,
        "is_public": true,
        "inherit_members": true,
        "default_version": {
            "id": 7,
            "name": "Systemwide visible version" 
        "default_assignee": {
            "id": 3,
            "name": "Dave Lopper" 
        "custom_fields": [
                "id": 3,
                "name": "Development status",
                "value": "" 
        "created_on": "2021-02-24T18:31:09Z",
        "updated_on": "2021-02-24T18:31:09Z" 

I'm closing this, please reopen if something is missing.

#2 Updated by Sébastien Lardière about 1 month ago

  • Status changed from Closed to Reopened

Ok, thanks for your answer, I got it now, but I can't use subproject, for historical reason.

How can I setup `default_assigned_to_id` after created the membership ? 

#3 Updated by Sébastien Lardière about 1 month ago

Actually, it works, just put default_assigned_to_id after created the membership.

Worth to be documented, ihmo.


#4 Updated by Marius BALTEANU about 1 month ago

  • Category changed from REST API to Documentation
  • Status changed from Reopened to Closed
  • Assignee set to Marius BALTEANU
  • Resolution changed from Invalid to Fixed

I've updated the page Rest_Projects.

Also available in: Atom PDF