Forums

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

Not able to update test run status TestRunStatus: customfield_16127

Prasad Swami
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!
June 3, 2023

I am trying to update this customfield_16127 field. I guess it from xray plugin. Not able to find suitable Curl Command to change the status of the Issue. 

I checked the editmeta its as below

 "customfield_16127": {
"required": false,
"schema": {
"type": "any",
"custom": "com.xpandit.plugins.xray:test-run-status-custom-field",
"customId": 16127
},
"name": "TestRunStatus",
"fieldId": "customfield_16127",
"operations": [
"set"
]
}

I am able to change all the other parameters like summary,description,comment. But onlt testrunstatus is pending. Trying to use some automation.

 

I have tried below Curl Command

curl -D- -X PUT --data '{"fields":{"customfield_16127" :{"name" : "passed"}}}' -H "Content-Type:application/json" -H 'Authorization:Basic {Username:Password}' https://{hostname}/rest/api/2/issue/{issueId}

 

0 answers

Suggest an answer

Log in or Sign up to answer