Forums

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

while trying to create issues from service now to Jira cloud we are facing this error.

Vijay March 6, 2024

while trying to create issues from service now to Jira cloud we are facing this error.

Could not create jira issue. Error message:{"errorMessages":["No operation with name 'set' found. Valid operations are: ADD,SET,REMOVE,EDIT,COPY"],"errors":{}}

This is the JSon we are using..

{
  "fields": {
"project": {
      "key": "${project_key}"
    },
    "issuetype": {
      "name": "Bug Customer"
    },
"summary": "${summary}",
    "components": [
      {
        "name": "${Component}"
      }
    ],
    "description": {
      "content": [
        {
          "content": [
            {
              "text": "${description}",
              "type": "text"
            }
          ],
          "type": "paragraph"
        }
      ],
      "type": "doc",
      "version": 1
    },
"customfield_10636": {
      "id": "${Environment}"
    },
    "versions": [
      {
        "id": "${version}"
      }
    ],
    "priority": {
      "id": "${Sapiens_Priority}"
    },
    "customfield_10678": {
      "id": "${sn_sys_id}"
    },
"customfield_10693": {
      "id": "${Customer_PR_CR}"
    },
"customfield_10731": {
      "id": "${Customer_Severity}"
    },
"customfield_10635": {"value": "'||["IDIT"]||'", "child": { "value": "'||["Cross domain - Reinsurance"]||'"},
"customfield_10734": {
      "id": "${detected_In_Prod}"
    },
"customfield_10632": {
      "id": "${project_phase}"
    },
"customfield_10631":"20325"
}
}

 

 

 

 

 

 

Please check and let us know what wrong we are doing.. 

2 answers

1 vote
Jaap
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!
April 2, 2024

I got the same error. In my case the component name was incorrect. (Case difference)

Olivier DESNOË
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!
September 5, 2024

This worked for me

0 votes
Arun Unnikrishnan
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 13, 2024

@Vijay Can you try the below for custom fields

"fields": 
{
"customfield_10166": {"value": "name"}
}

 

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