Forums

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

Not able to assign values in Labels & approvers field in JSM automation

DollyShukla April 5, 2025

Hi ,

I have created automation flow like-
1. Manually trigger from alert 
2. Fill values in input form
3. Lookup table contains key-values for team name & team owner . 
4. log prints correct values based on above team name selection , team owner is picked. (everything works fine till here)
5. On create incident , name to add team name in Labels & team owner in Approvers field . This is failing .

Error is  same for Labels & Approvers -

Your request could not be created. Please check the fields have been correctly filled in. Please provide a valid value for field 'Approvers'
Team owner given as account id , name & email address not working

jsm.PNG

 

1 answer

0 votes
Kai Krause
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.
April 5, 2025

Hi,

 

i think you have to do it in the JSOn-part of the rule. 

something like 

{
  "update": {
    "labels": [
      {
        "add": "Approval Needed"
      },
      {
        "add": "Review"
      }
    ],
    "approvers": [
      {
        "add": {
          "accountId": "user-account-id" // Replace with the actual account ID of the approver
        }
      }
    ]
  }
}


 The possibilities are here Advanced field editing using JSON | Cloud automation Cloud | Atlassian Support

BR

Kai

Suggest an answer

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

Atlassian Community Events