Hide assignee metadata when no visible assigned tickets exist
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user