Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,456
Community Members
 
Community Events
168
Community Groups

How can I run script listener for project category?

Script Listener can be changed to run for selected projects, but I want to select a 'project category'. The screen for custom listener shows only drop down list for project. How can I select a project category?

Do I need a extra line in the script? Something like this:

 

if (issue.projectObject.projectCategoryObject?.name == '...') {
    ...
}

 

2 answers

1 accepted

1 vote
Answer accepted

Hello Peter,

Select "All Project" for your Listener. The line you post works well in my jira.

Sincerely,

Adrien

Yeh this won't work in script listener on cloud. 
I think there has to be a getProject something or other... looking myself for this answer

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events