I want to create an automation to block if some DEV move's a task from Development to Done without register any time of work, is it possible? Someone already did this?
I don't think automation is the way to go here. The best approach is to use standard functionality. This is done in two steps:
If your transition to 'Done' doesn't offer users the chance to log time, you should add this to your workflow as follows:
Providing this screen should be enough, but if you want to FORCE users to enter time spent on this screen you can add a validator to the 'Done' transition to make the 'time spent' field required as part of the transition. This is done using the 'Field Required' validator as shown below.
If you use Jira Automation you should be able to trigger on transition to done, create a filter to ensure the property is not 0, and if it is 0, use an action to transition and re-assign the issue.
I suggest you take a look at the Jira Automation plugin and give it an hour or two to explore it:
If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...
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