Introduction
It is possible to update the configuring OOO one-time rule for the users via REST API
List of Attributes
|
Data Type |
Attribute Name |
Default Value |
Remarks |
|---|---|---|---|
|
String |
projectIdString |
"-1" |
"-1" will be all other project If not, it will be the projectId of project |
|
String |
covererId |
|
The coverer username if reassignMode is set to "coverer" Set to "-" for do not re-assign issue |
|
String |
covererAvatar |
|
The small avatar img of coverer which is used to populate in one time rule table |
|
String |
covererDisplayName |
|
The coverer full name which is used to populate in one time rule table |
|
String |
projectInfo |
|
The project name and key which are configured |
|
String |
reassignMode |
|
Can use "reassign", for re-assigning issue Can use "unassign", for unassigning issue ( Can use "same", for do not re-assign issue |
|
String |
oneTimeMessage |
|
Message to be added into comment should the user is OOO |
|
String |
startDateString |
|
String of the out of office start date format ("yyyy-MM-dd HH:mm") |
|
String |
endDateString |
|
String of the out of office end date format ("yyyy-MM-dd HH:mm") |
|
String |
creatorAvatar |
|
The small avatar img of rule creator which is used to populate in one time rule table |
|
String |
creatorDisplayName |
|
The creator full name which is used to populate in one time rule table |
|
String |
assigneeId |
|
The ooo user's username |
|
String |
assigneeAvatar |
|
The ooo user's avatar |
|
String |
assigneeDisplayName |
|
The ooo user's full name |
|
int |
oneTimeId |
0 |
The id of the one time rule for update and delete rule |
|
boolean |
byAdmin |
false |
if the rule is configured by admin |
|
boolean |
byTeam |
false |
if the rule is configured by team |
REST APIs