Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,197
Community Members
 
Community Events
168
Community Groups

Create worklog in scriptrunner with tempo work attribute

Edited

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
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

117 views 0 9
Read article

Atlassian Community Events