Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Queues based on status of linked issue Edited

We have been using Scriptrunner on Jira Server for that functionality in queues. Based on fields in the Service Desk and Status of a linked ticket, i can display tickets. For example a ticket in  the servicedesk is Chargable and linked to the "Chargable Tickets" project. Once it is linked there it is in queue Chargable in progress.. once it is done in the chargable tickets section it is moving to queeue chargable but completed.

 

The enhanced search allows me to setup filter with script runner but I cant use the function in the queues. Example so far

First queue - open work

status in ("In progress") AND NOT issueFunction in linkedIssuesOf("project = ChargableTickets and status in ('closed') ") Order BY updated DESC, priority DESC

Second queue - Completed work

status in ("In progress") AND issueFunction in linkedIssuesOf("project = ChargableTickets and status in ('closed') ") Order BY updated DESC, priority DESC

 

Any solution to this problem? Script runner just buffers all the tickets in a project and based on this, it searches every single ticket with that function. I can rebuild that with 1000 presumed Ticket Numbers but clearly that is not how I want that software to work.

In addition, I used the same function in conditions for workflows. You cant close a ticket when it is chargable and there is not ticket in "ChargableTickets" section

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

87 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you