Hello Community,
I am having a bit of trouble with Behaviours.
I would like to know if there is a way to grab the contents of an Issue if you know the name of an Issue.
In my Behaviour script I get the name of an Issue (provided by a custom field). From there I would like to use the name of the Issue to find that Issue in Jira and discover its resolution status, from there I would like to have a conditional statement that if a certain Issue is resolved then I do something, else I do nothing.
I appreciate any help!
-Roberto
My Script currently looks as follows:
def formField = getFieldById(getFieldChanged()) //Grab the field my behaviour is attached to
def issueName = formField.getValue() // Grab the value in the field a.k.a the name of an issue in Jira