Tempo Timesheets can only approve users' timesheets manually. For some customers, they can write up their own script to look for approval event when a user has submitted their timesheets, then “auto-approve” their timesheets with Server REST API. Some other customers uses ScriptRunner to achieve it, which you can refer to our KB’s on Event listeners.
\uD83D\uDCD8 Instructions
...
Code Block |
---|
|
{
"action": {
"comment": "This is my comment.",
"name": "approve",
"reviewer": {
"key": "jeanDoe"
}
},
"period": {
"dateFrom": "yyyy-MM-dd"
},
"user": {
"key": "johnDoe"
}
} |
Info |
---|
Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menuSome other customers uses ScriptRunner to achieve it without writing their own script, which you can refer to our KB’s on Event listeners. |
\uD83D\uDCCB Related articles
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957 |
---|
sort | modified |
---|
showSpace | false |
---|
reverse | true |
---|
type | page |
---|
cql | label = "kb-how-to-article" in ( "api" , "events" , "approval" , "timesheet-approval" ) and type = "page" and space = "KB" |
---|
labels | kb-how-to-article |
---|
|