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
Community Members
Community Events
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.



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

Atlassian Community Events