Greetings,
I'm trying to tap into the ServiceDesk Java API to allow the cloning of Queues from one project to another, but I'm unable to find a suitable API that will allow me to *create* a Queue.
FYI, I'm trying to do that through ScriptRunner. There must be a way, since ScriptRunner's Built-in script for cloning a project says it will clone the source project's queues.
Is there any official API for that? And if not, how does ScriptRunner do it so I can replicate?
Thank you,
Felipe
@Felipe Carasso hello,
I didnt find any "create" queue from https://developer.atlassian.com/cloud/jira/service-desk/rest/#about
But, the main concept of queues in Jira Service Desk, its based on filters (JQL), created by project. Its a filter, listed in the project so the agent is able to find their work easly.
You can get the issues in some queue but not copying it to another project, as each project will have the queues based on the issues this project has.
Does it make sense?
The target is to replicate queue configuration between two or more SD projects, so it has to be a Queue, not just a filter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have you check this one?
https://docs.atlassian.com/jira-servicedesk/4.8.1/
com.atlassian.servicedesk.api.queue has "create".
part of the building is JQL - that you might get from another project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now I saw you edited, and youre using Script Runner. ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that's correct. I was looking at the API for my version which is 4.5.0.
4.8.0 includes the required API.
If you'd add this info to your original answer, I'll mark it as accepted.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.