Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Initialiser not working when mapping issue types

Hunter1428
Contributor
September 20, 2022

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:

def desc = getFieldById("description")

 

def defaultValue = """

Here the template...

""".replaceAll(/ /, '')

 

if (! underlyingIssue?.description) {

desc.setFormValue(defaultValue)

}

Would anyone have any ideas?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events