Forums

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

Why not right working script in "template comments for JSD"

haventName May 27, 2019

We have plagin TEMPLATE COMMENTS FOR JSD. 

We use script:

import com.atlassian.jira.component.ComponentAccessor
if (issue.projectObject.key == 'SU' && issue.getComponentObjects()*.name[0].toString() != "Контакт-Центр") return true

i.e We need what the template was displayed under those conditions when the component is set Контакт-Центр" (trnsl: Call Center), but script works the other way around.

The required template shows when the component is not specified.

I'm junior in Jira Adm and Java. thanks in advance

1 answer

0 votes
haventName May 28, 2019

resolved

Suggest an answer

Log in or Sign up to answer