Hi Makarand,
Please find below for a sample code that you might use to define your transition rules.
Function Bug_FieldCanChange(FieldName, NewValue)
if user.isingroup("Defects") then
if FieldName = "BG_STATUS" and NewValue = "Closed" then
msgbox "You do not have permission to close defects"
Bug_FieldCanChange = false
else if FieldName = "BG_CLOSING_DATE" then
msgbox "You do not have permission to modify closing date"
Bug_FieldCanChange = false
else
Bug_FieldCanChange = true
end if
end if
end if
End Sub
If this post solves or helps solve your issue, mark the thread as solved and please give KUDOS to the author.
Thanks,