Hello,
I want to block the description field from opening if the entered worklog time is more than the remaining time. Can you suggest a plugin where I can do this?
Welcome to the community.
Can you share your use-case? Worklog duration is used to report how much time something really took. If you limit it by your estimate, you lose the ability to assess how accurate your estimates are, so I'd recommend against it.
Having said that, I have no experience with the Scriptrunner so sadly I cannot guide you to the desired solution, but if you share more details perhaps I or someone else will be able to help you.
Cheers!
for example: this issue have a 1 week time. when I enter 2w to time spent field I want to block the description field from opening.
if the employee has spent more than 1 week, he/she should request additional time from his/her manager. As far as I can see, the Scriptrunner plugin triggers the script when the event is completed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe you'd want to send the manager an email notification when that happens instead? This could be either an automated request for approval or just a heads-up that someone overlogged.
This should be possible with Advanced compare block - you could do it like this:
Trigger: Work logged.
Advanced compare:
When:
{{issue.timetracking.timespent}}
greater than
{{issue.timetracking.originalestimate}}
Action:
Send email.
It does not do what you ask, but may be useful in your scenario.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Muhammed Niyazi ALPAY please try Scriptrunner by Adaptavist.
You can write a behaviour in Groovy scripting language to achieve this in about 9 minutes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm trying this plugin, but it doesn't work for what I said.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.