Set Priority using Automation under Teams operations

Ari Raatikainen
Contributor
August 26, 2024

Do you know if there is a way to set Priority system field in automation depicted below and  using JSON ?


Screenshot 2024-08-26 134353.png

 

 

I have tried to add the below JSON under Additional fields

{ "fields": { "Priority": { "name": "High" } }

but it results 

->

Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored - Priority (priority)

As the rule is about creating request, does Priority field be part of the Request Form?

Note the automation rule is defined under TEAMS not Global Automation!

1 answer

0 votes
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 26, 2024

Hi @Ari Raatikainen,

Why would you need to set it using JSON? You can just set the field by selecting the desired value:

Screenshot 2024-08-26 at 16.28.09.png

I am not sure if you are trying to set the priority conditionally based on information from your alert, but I'm sure you should be able to do that with an IF ... ELSE block in your automation rule:

Screenshot 2024-08-26 at 16.35.06.png

Hope this helps!

Ari Raatikainen
Contributor
August 26, 2024

This is not exactly the information what I am looking after. I could achieve the need by creating another automation that would run after the service request is been created, but to avoid that the question is if the priority could be set (using JSON) in above workflow - in the step Create Request or after it? 

Please, take a note there are not the same actions available in Teams - Operations - Automation that are in Global automation!

 

Suggest an answer

Log in or Sign up to answer