Create worklog in scriptrunner with tempo work attribute

kkoziol May 11, 2021

Hi, maybe somebody will come up with idea, how to create worklog in script runner, with required tempo work attribute. Below how logging work creation sheet looks like.

Work attribute "Kategoria pracy" has a key: "_test1_"

Im trying to make it for a couple of days now and nothing is working. 

Bez tytułu11.png

Or at least someone will know what to type here:

tempoWorklogManager.create(issue.key, TempoDateTime.now(), "Auto-created worklog", attributes, timeToLog, 0, remaining, currentUser, [:])

So it will work for uploaded sheet

 

Here link with examples of  creating worklog script: 

https://library.adaptavist.com/entity/create-a-tempo-worklog?_ga=2.159619444.83376159.1620651974-349607845.1619185821

https://scriptrunner.adaptavist.com/4.3.9/jira/plugins/working-with-tempo.html

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events