That's a tricky question indeed... The validation script it's fired like a part of the workflow.. editing your issue isn't part of the workflow so it can't be fired...
What you can do it's run the validation when a transition it's made so it checks the changes the issue had. Or don't give permissions to edit issue an just use the edit issue screen as a transition screen.
even I donot find any proper documentation for JSS.
Alternatively you can implement your requirement by extending Edit Action and Quick Edit Action.
The following link help how to extend those actions.
Srinivas, I would really go with Rambanam's suggestion. Take out the permissions for all for Edit so that the Edit button itself disappears. Then add a transition (global) by the name Edit and make it as the first one (in the workflow order) and that will solve the problem completely. You will have complete control over conditions/validators and post functions.
But wouldn't that ruin the 'e' keyboard shortcut?
I guess you cant have botgh as it is now. Is Atlassian considering consolidating the handling of issue operations such as create, edit and workflow transactions into a more coherent user experience?
As a user it is quite hard the first time to figure out that for instance create and edit are not the same as any other workflow transition.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG