We have a custom field "branch" which is supposed to tell our engineers where to push a commit. The problem is that sometimes the fixVersion field gets updated and the branch field does not, so that they now disagree.
Is there a way to write custom verification code that would be run whenever a change was saved in Jira? It would snarf up a mapping of branch to fixVersion and verify that the two were compatible.
Even better, would be to make the fixVersion field read-only to most users and set the fixVersion automatically whenever the branch field was set.
If this could be done, are there people who would implement this for me and what would be the approximate cost? I am running 7.3.6 now, but I plan to upgrade soon.
If you do not want to purchase an add-on product, you could implement your noted "even better..." approach using automation rules to set fixVersion when branch is set, and reset fixVersion if someone tampers with it.
Please see here for documentation on automation rules:
Best regards,
Bill
Hi jeremy.mordkoff@dzsi ,
I think the app Scriptrunner might be worth a look.
There you can create custom validators or use the behaviour part to modify the behaviour of fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.