Jira Automation by Project Category

Ken
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 25, 2023

Hello Brains Trust

Automations, I have an automation I need to limit to only work by specific project category types... how (can) I do this?

 I know I limit to:

  • Global - not the best as there are some projects that don't have a field I need to update, leads to errors and is not a very elegant solution (but an ok workaround as the errors don't effect anything apart from the audit log)
  • Single project - I need to run it across a number of projects
  • Multiple projects - I want it to be dynamic, i.e. so users don't need to remember to add it to the automation if they create a new project.
  • Project type - I need it to potentially run across project types

 

TIA

1 answer

1 accepted

2 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 25, 2023

You cannot limit the automation under rules details to a specific category, but you can add a JQL condition in your rule that checks if the issue belongs to a project in a specific category like this:

Screenshot 2023-10-25 at 4.22.54 PM.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 25, 2023

Hi @Ken 

Adding to Mikael's answer...

I think the smart value to check for the project category is:

{{project.projectCategory.name}}

or the id value if you want to use the numeric value.

Kind regards,
Bill

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events