Move issues from one queue to another queue

Orkhan Hasanov
Contributor
November 24, 2023

Hello everybody.

I'm having an issue. This is also a question.
I created different queues.
Every queue has a JQL filter.
So we need to move or transfer an issue from one queue to another.
With the "Move" functionality we can't. There is an error that says that you can not move an issue from the same project to the same project.
So I decided to create a new custom field with a single select option. I named it "Transfer." I added select options such as System, Network, Program, etc.
So if I choose the "Network" option from the example, the issue will show up in network queues. This is okay.
But the problem is that that issue still shows and exists in System queues too. I edit the queue's jql if transfer != network but this issue still exists in System queues too.

So if I can fix this, how? Would you help me?

Or better if you have a different suggestion please tell me.
I know I can move or transfer issues between queues via the change request type, but this one is not good.
We need a much better option.
I will be happy if anyone has an option about this.

 

jira_service_management_queues 2 .pngjira_service_management_queues.png

3 answers

1 accepted

1 vote
Answer accepted
Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 24, 2023

Hey @Orkhan Hasanov ,

Queues exist within a single project so you don't really move them yourself to another queue.

You need to view queues as pre-defined filters (based on that JQL) and issues will appear in a queue as soon as they are valid for that JQL filter.

So as long as you define your queues jql filter unique enough then the issues will only appear in a single queue.

That is however not always the goal. You can for example have a queue for "All issues" and "Open Issues" and Open issues would then show up in both (as they both have a valid JQL filter for the issue)

As mentioned by @BHANU TEJA your need to validate your JQL filters properly first. Using an OR condition will break your JQL in multiple peaces. That's not just a Jira thing but a general Logical operators thing :)

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 24, 2023

Its hard to see on the screenshot so could you paste your JQL fully here? Queus can only be done using a JQL or the basic filter editor.

What I think I can see is that your OR's are set up incorrectly. Currently you are missing a ")" causing the AND Transfer != Network to only apply on your last Request type.

 

image.png

 

I believe moving the ")" to before your AND it could do the trick.

Orkhan Hasanov
Contributor
November 24, 2023

("Request Type" = "Yeni Proqram Təminatı yazılması (IDQ)" OR "Request Type" = "Proqram Təminatı donur (IDQ)" OR "Request Type" = "Avadanlıq təmiri (IDQ)" OR "Request Type" = "Yeni avadanlıq sifarişi (IDQ)" OR "Request Type" = "Avadanlıq sıradan çıxıb (IDQ)" OR "Request Type" = "Printer Problemi (IDQ)" OR "Request Type" = "Digər (IDQ)" and Transfer != Network) AND status != CLOSED AND status != Canceled ORDER BY createdDate DESC

Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 24, 2023

I suggest rewriting it to be more readable and less error prone.

For example:

"Request Type" IN (""Yeni Proqram Təminatı yazılması (IDQ)","Proqram Təminatı donur (IDQ)","Avadanlıq təmiri (IDQ)","Yeni avadanlıq sifarişi (IDQ)","Avadanlıq sıradan çıxıb (IDQ)","Printer Problemi (IDQ)","Digər (IDQ)") AND Transfer != Network)

AND status NOT IN ("CLOSED","Canceled")

ORDER BY createdDate DESC

Orkhan Hasanov
Contributor
November 24, 2023

Yes, it is more readable. I used that JQL. It didn't work again.

I think I must use just changing the request type for move the issue from one queue to another one (in same project). 

 

Thanks guys for your help !

1 vote
BHANU TEJA
Contributor
November 24, 2023

Hi @Orkhan Hasanov 

As per the  2nd screenshot the Query you are using  is "OR Transfer =Network" try to use AND instead OR it might help you

0 votes
Orkhan Hasanov
Contributor
November 24, 2023

Dear @BHANU TEJA  and @Dirk Ronsmans  Thanks for quick responce. 

I tried using "AND" but it was still there.

Do you have any, another suggestion ? 

Is there any option do this without using JQL ?

 

1.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events