Forums

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

Can I create an automation rule using Project Category?

Shan (SHPK)
Contributor
May 4, 2022

Is there a way I can create automation rule using the value in Project category?  

While creating a Project there is no way to select the Project Category. (Is there a way we can select Project Category while creating a Project?)

Scenario:

So after a project is created, if I go and update the Project Category for the Project and Save.  Based on the category selected/saved, can I run an automation rule?  If yes, can you please help me how to do this?

Thank you

2 answers

1 accepted

2 votes
Answer accepted
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.
May 5, 2022

Hi @Shan (SHPK) 

Adding onto Jack's answer:

  • No, you cannot trigger an automation rule based on a change to a project field; only create project triggers (I believe...)
  • And, project category is accessible in a rule as {{project.projectCategory}} for all the object or just the fields you want, such as {{project.projectCategory.id}} or {{project.projectCategory.name}}  So if your rule is triggered in another manner it could use the category information.

Kind regards,
Bill

Shan (SHPK)
Contributor
May 5, 2022

Thank you @Bill Sheboy  for sharing the details.

Alis-Hathway Ward (DO NOT USE)
Contributor
August 9, 2022

It seems {{project.projectCategory.name}} is not working when the automation rule is triggered on create issue. Any tips?

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.
August 9, 2022

Hi @Alis-Hathway Ward (DO NOT USE) 

You could try to access the field from the issue to see if it is available:

{{issue.project.projectCategory.name}}

If it is not available, you could instead call the REST API to get the project information.

Kind regards,
Bill

1 vote
Jack Brickey
Community Champion
May 4, 2022

This is not possible. Automation works on issues not projects.

Shan (SHPK)
Contributor
May 5, 2022

Thank you @Jack Brickey 

Suggest an answer

Log in or Sign up to answer