I've seen a few topics on this unfortunately I can't seem to get my desired result. Is it possible to manipulate the "Time Tracking" field to hide the remaining estimate and Date Started fields from the "bundled" Time Tracking field.
I do notice that you can hide the Time Spent, piece but I am wanting to isolate it (the exact opposite).
getFieldById("timetracking_originalestimate")
getFieldById("timetracking_remainingestimate")
These fields do nothing for me for hiding any information in the bundled field. I can't hide them.
However, Time Spent can be hidden from that bundled field. Anyone have insight if this is even possible. We just want to record hours for our Service Desk portion of our instance, we don't care about estimates for that portion.
This is how I hide those fields:
log-work-activate is the check box to log work.
For the Remaining Estimate field under log work I found that just hiding one of the sub-fields hides the whole field. I couldn't actually find the ID for it so I just used the Adjust automatically radio button.
def remainingEstimate = getFieldById('timetracking_remainingestimate').setHidden(true)
def originalEstimate = getFieldById('timetracking_originalestimate').setHidden(true
def logWork = getFieldById('log-work-activate').setHidden(true)
def timeSpent = getFieldById('log-work-time-logged').setHidden(true)
def dateStarted = getFieldById('log-work-date-logged-date-picker').setHidden(true)
def logWorkRemainingEstimate = getFieldById('log-work-adjust-estimate-auto').setHidden(true)
You can use those to hide any of the Log Work and Time Tracking Fields.
Hey ,
Anyone have answer for this question , how can we hide time tracking fields in jira using scriptrunner behaviour.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.