Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

limit working log maximum to Remaining estimated reach to zero

Hi, I want to limit the logging work on issues if the remaining estimated field reached to zero, I mean maximum value that users can log work is equal to remaining estimated that report set,
below is the code I wrote, I create a behavior with below code and mapped it to Timespent field,

@BaseScript FieldBehaviours fieldBehaviours
FormField logtime = getFieldById(getFieldChanged())
def issueManager = ComponentAccessor.getIssueManager()

def mIssue = underlyingIssue as MutableIssue
//def timeSpent = mIssue.getTimeSpent()
def remainingEstimate = mIssue.getEstimate()

def a = remainingEstimate.value
def b1 = logtime.getValue()
Number b=(Number)b1


{ logtime.setHelpText("Due date of Sub-Task can not be after Due date of the Task, Due Date can be maximum") logtime.setFormValue("") }


{ logtime.clearHelpText() }

we are using Tempo timesheet for logging work, of course I test it with jira log work too but it does not work

1 answer

Hi Crs co, did you find any path for this? We have similar need and neither Jira or Tempo provide a native solution...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

How to log work and track time in Jira when a person is part of multiple teams

  The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...

102 views 2 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you