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
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.