How to restrict logging work log for future days and some past days?

Hi guys!

I need a way to restrict logging worklog for future days and more tha previous week.

¿Can anyone help me?

Thanks.

Regards.

3 answers

The easiest way is to use custom validator on some transition that will not allow to pass if there are some conditions regarding worklog entries met. I.e. you will not be able to resolve the issue until you fix the worklog entries. Not completely what you nead - but the easiest workaround that will help to achieve the goal.

As for the custom validator - the easiest way is to write script validator with https://jamieechlin.atlassian.net/wiki/display/GRV/Validators or write your own plugin with that validator https://developer.atlassian.com/display/JIRADEV/Creating+Workflow+Extensions

Thanks Alexey.

This is not what i need because i need something like this but in the moment that you log some work and not when you do a transition.

Thanks.

Regards

0 votes

You can't do this by default in JIRA. You will have to provide a custom "Log Work" action, similar to the one from Tempo and then implement your logic in there.

Please advise how to do it?

Like 1 person likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,653 views 18 21
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you