Hey there, I'm trying to turn off queue counts, but its not clear to me what exactly (or how exactly) i'm supposed to be sending. The below put is to turn them off globally:
PUT <contextpath>/rest/servicedeskapi/admin/queues/include-count - true/false body - 200 response (default true)
There's a similar GET request that works to see the current status on a specific project, these are the results I see:
{"queueCount":{"includeQueueCount":true,"useCachedQueueCount":false},"_links":{"self":"https://jira/rest/servicedeskapi/admin/queues/HELP"}}
I've tried using that JSON that's returned and seeing the individual booleans, URL params, etc... I'm not super familiar with the SD api, but how do I just set "include-count" to false as mentioned in the above? Thanks!
Hi Jason,
To make the PUT request using cURL, try this command:
$ curl -i -X PUT -H 'X-ExperimentalApi: true' -H 'Content-Type: application/json' --data-binary false https://jira/rest/servicedeskapi/admin/queues/include-count
Replace the “false” with “true” to turn them back on, and replace “https://jira” with your Jira instance URL as required.
You’ll need to authenticate the request as described in our REST API documentation, and the X-ExperimentalApi header is there because this endpoint is experimental (might change in future versions of JSD).
You can use Postman instead of cURL if you prefer. Hope that helps!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.