Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Queues based on status of linked issue

Adrian Tilk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2021

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

1 answer

0 votes
Blake
Contributor
October 3, 2024

Having same issue. What do I need to type in to display tickets with any & all linked issues in which are marked as done?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events