We want to restrict logging of time on parent items (like story) however allowing them on the child items (liek sub-task of a story).
I have created separate workflows for Story and Sub-tasks. I tried to add a property "jira.permission.work.denied" with value "denied" in my Story workflow. It worked as desired by restricting entry of time on the story, however it also restricted entry of time on the sub-task although as I mentioned above i have a separate workflow defined for sub-tasks which does not have the property "jira.permission.work.denied".
Can you please help me in understanding what is it that I am doing wrong here?