Basically I am looking to add a validation for a custom field while editing the Jira ticket.
I can achieve the same while creating Jira through workflow validation.
I need to know how it can be done while Editing?
Technically, there still isn't a way to do it really. The standard trick is what you've already suggested - move the edit into the workflow
However, if you have the Script Runner add-on, that has some "edit validation" hooks you can use. I'm not sure if there are other things that can get to these hooks yet.
They've been removed from SR, as they were too limited in what they could do.
They could catch ordinary edits, and bulk changes, but if you changed issues in Jira Software, Portfolio or Service Desk, the structure of Jira's code meant there was no way to put validators in.
Behaviours might be able to help you a bit though, that's worth a look.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs