Forums

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

Automation Condition for project.projectTypeKey

Luc Trepanier January 21, 2022

I would like a rule to execute only if the issue is part of a Service Management project. I found that the smart value project.projectTypeKey should allow that.

 

But when I implement the condition:

{{issue.project.projectTypeKey}} equals "Service management"

it fails all the time.

I do not want the rule to execute for issues for Jira Software...

Thank you for your help.

2 answers

1 accepted

2 votes
Answer accepted
Mark Segall
Community Champion
January 23, 2022

Hi @Luc Trepanier - I ran into this same issue as well.  projectTypeKey actually stores Service Management projects as service-desk.  Here's the full list:

  • Jira Software:  software
  • Jira Service Management:  service-desk
  • Jira Work Management: business
John Isherwood August 31, 2024

Hi @Mark Segall thanks for supplying the values. However, I'm not sure if Atlassian have changed them, but I discovered that Jira Service Management = service_desk (with the underscore) when I checked the log action for an automation using {{project.projectTypeKey}}

0 votes
Luc Trepanier January 27, 2022

Thank you, Mark!

Suggest an answer

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

Atlassian Community Events