Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagejson
{
  "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.

...

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "kb-how-to-article" in ( "api" , "events" , "approval" , "timesheet-approval" ) and type = "page" and space = "KB"
labelskb-how-to-article