...
Each vacation type could have defined default vacation definitions - automatically assigned vacation days for new users.
Methods
POST
Anchor |
---|
| createDefaultValues |
---|
| createDefaultValues |
---|
|
...
Expand |
---|
title | Update default vacation definition |
---|
|
Updates and returns default vacation definition object. Path Code Block |
---|
PUT {jira_baseurl}/rest/vacation-manager/1.0/default-vacation-definition/{defaultVacationDefinitionId} |
Permissions
Path paramsName | Type | Description |
---|
defaultVacationDefinitionId | int | Id of default values object to update |
JSON body fieldsSame as in create default values endpoint. Responses Example Expand |
---|
|
Code Block |
---|
| PUT {jira_baseurl}/rest/vacation-manager/1.0/default-vacation-definition/2 |
Code Block |
---|
| {
"vacationTypeId": 2,
"daysCountLimit": 25,
"defaultPeriodType": "RECURRING_PERIOD_OFFSET",
"periodOffset": 2
} |
Code Block |
---|
| {
"id": 2,
"vacationTypeId": 2,
"daysCountLimit": 25.0,
"defaultPeriodType": "RECURRING_PERIOD_OFFSET",
"periodOffset": 2
} |
|
|
...