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}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.