Can someone suggest me how to hide the transition until the logwork has to done.
How about showing the transition but making Time Spent field required on a screen? Thanks to that users in order to transition would need to put the value in the field. All you need is a field on a screen and workflow validator on specific transition. This might be however not available OOTB. I personally use "Field required" validator that is available in JSU - Suite Utilities for Jira plugin.
If you want to restrict log work on specific statuses (which is more interesting since users cannot log also from the issue details view) it might be done via workflow properties. Check this KB article for more info:
Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...
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