Modify an Issue's status code based on an Issue's Id and a status code.
Required Permissions: Full
HTTP method: POST
Supported by Editions: Zend Server, Zend Server Cluster Manager
Request Parameters:
Parameter |
Type |
Required |
Description |
issueId |
String |
Yes |
The issue identifier |
newStatus |
String |
Yes |
The new status to set: Open | Closed | Ignored |
Response Format: Up-to-date issue element or an error message explaining the problem
Possible Action Specific Error Codes: This action has no specific error codes
|
Example:
Request (headers removed for the purpose of clarity): POST /ZendServerManager/Api/monitorChangeIssueStatus Content-type: application/x-www-form-urlencoded
issueId=1&newStatus=Closed
Response (not all headers are shown): HTTP/1.0 200 OK <?xml version="1.0" encoding="UTF-8"?> <zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.1"> <requestData> <apiKeyName><![CDATA[Admin]]></apiKeyName> <method>monitorChangeIssueStatus</method> </requestData> <responseData> <issue> <id>11</id> <rule>PHP Error</rule> <count>1</count> <lastOccurance>123412341234</lastOccurance> <severity>Warning</severity> <status>Closed</status> <generalDetails> <url>http://localhost/test.php</url> <sourceFile>/var/www/test.php</sourceFile> <sourceLine>302</sourceLine> <function>fopen</function> <aggregationHint>123412341234</aggregationHint> <errorString>Permission Denied</errorString> <errorType>E_WARNING</errorType> </generalDetails> <routeDetails> <routeDetail> <key>controller</key> <value>test</value> <routeDetail> </routeDetails> </issue> </responseData> </zendServerAPIResponse> |
|
|
|
|
Related Links: Available API Methods |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.