I have an requirement to set organization based on reporter in JSD.
For emails and portal issues I am using an scriptlistner to set the value but is it possible to set this using an behaviour when creating an issue in the Jira GUI?
The code bellow does not work on the organization field:
def forganization = getFieldById("customfield_10002")
String Organization = (String) forganization.getValue()