Hi all,
When mapping a behaviour to a single, multiple individually selected or all individually selected issue types the initialiser fails to work. If mapped with "All Issue Types" it works without fail.
I'm trying to map this code to a single issue type. Here is the example code I am using:
defdesc = getFieldById("description")
defdefaultValue ="""Here the template...""".replaceAll(/ /,'')
if(! underlyingIssue?.description) {desc.setFormValue(defaultValue)}
Would anyone have any ideas?
I dont know if that helps, but you can try switching to:
Class class = ComponentAccessor.getPluginAccessor().getClassLoader().findClass("com.atlassian.servicedesk.api.approval.Approval")
def objectOfClass = ComponentAccessor.getOSGiComponentInstanceOfType(class)
Hi Marcin,
Thanks for the help. I will definitely try this the next time I'm working on it.
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.