Hide assignee metadata when no visible assigned tickets exist

This commit is contained in:
2026-04-24 09:37:53 +00:00
parent bf0e50464a
commit ae00f1fc44
4 changed files with 56 additions and 4 deletions
+9 -2
View File
@@ -1643,7 +1643,7 @@
}
},
"AssignedTicketsPayload": {
"description": "Tickets assigned to a user grouped by projects visible to the authenticated application key owner.",
"description": "Tickets assigned to a user grouped by projects visible to the authenticated application key owner. meta.assignee is null when no visible assigned tickets exist.",
"content": {
"application/json": {
"schema": {
@@ -1844,7 +1844,14 @@
"type": "object",
"properties": {
"assignee": {
"$ref": "#/components/schemas/User"
"anyOf": [
{
"$ref": "#/components/schemas/User"
},
{
"type": "null"
}
]
}
},
"required": ["assignee"]