Hi, atlassian community !
I try add condition in post-function, but my code not worked..
My goal:
Start post -function "Set Field Value Post Function", if in current issue have "issuelink" ,
and in itat least one issuelink has "issue type" = test
My code :
def list= issue.getLinkedIssues() //result value : [TENDER-25937, ATL-2925]
//if in array have issue in issuetype == 'test' -> return true
list.eachWithIndex{ elLinkIss, i ->
if (elLinkIss.issueType.name == "test"){
return true
}
}
Thank you any help!
