Fixed tickets "delete/archive"

Hello all,

We are just dealing with Youtrack very fresh, So far I have been able to implement everything we wanted.

But I now come to a topic where I may be missing the right approach to solving or I have not found any information.

We have ticktes with 4 different statuses plus another one that is considered fixed. We manage them via an Agile board. Now we want that if a ticket has the status "fixed" for x days, this ticket is "archived" and the visibility is changed to a special group.
What I managed to do is to give the ticket a new status and change the visibility. But not the query about the time of the last change.
I do the whole thing via the Workflow Builder, I have not yet dealt with the JavaScript editor because I do not know JavaScript.

I hope that my problem is somewhat understandable and someone can help me.

0
4 comments

Hi! Just to clarify, do you really need the ticket's visibility changed to a special group or was this rather a workaround to have the card disappear from the board once it is no longer relevant?

What you could do instead is filter the cards on the board either via the header filter or via the search query option in the Board behavior setting. E.g., you can use a query like so:

#Open #{In Progress} OR #Fixed resolved date: {minus 7d} .. Today

With this filter, the cards visible on the board should be either: 1) Open; 2) In Progress; or 3) Fixed and have been resolved in the past 7 days. Let me know if that suits your purpose or if you would rather have this implemented with a workflow after all.

0

Hi, Yes that was just a workaround until we find a solution.

Your suggestion sounds good. I just tested it and entered it in the board under general board behavior.
Now it shows me only ticks that are fixed.
The query looks like this:

#Erfasst #Offen #{In Bearbeitung} #Pausiert #{Zu besprechen} #Behoben Lösungsdatum: {minus 2d} .. Heute

(In German since the system is German).

Did I do something wrong?

0

Can you try this query, please?

#Erfasst #Offen #{In Bearbeitung} #Pausiert #{Zu besprechen} OR #Behoben Lösungsdatum: {minus 2d} .. Heute

The OR operand should help to make a distinction between issues with any other status and Fixed (only for these is the resolved date relevant)

0

yes that looks good, the OR I have forgotten or rather overlooked, but makes sense. Thank you for the help

0

Please sign in to leave a comment.