Forums

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

Автоматизация Jira

Dmitry March 20, 2018

Использую плагин Jira Automation.

JQL:

project = "IT" AND type in (Консультация, Ошибка) AND status changed to "запрос информации" before -14d AND status = "запрос информации" ORDER BY updated ASC 

Все работает хорошо, если заявка была в статусе Запрос информации 1 раз,
если же статус вызввается повторно, то отчет дней идет с момента первого вызова статуса. Как это исправить?

2 answers

1 vote
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 21, 2018

Sorry but I can't write in Russian. Basically you can't do what you want. What I would do is have a date field that is updated with a post function every time you enter that status and then JQL against that field.

0 votes
Deleted user March 21, 2018

Dmitry,

You might be able to reverse the query to NOT and AFTER:

project = "IT" AND type in (Консультация, Ошибка) AND NOT status changed to "запрос информации" AFTER -14d AND status = "запрос информации" ORDER BY updated ASC 

Let us know if that works better!

Cheers,

Mark C

Dmitry March 22, 2018

А если так:

project = "IT" AND type in (Консультация, Ошибка) AND issue = ITASR-36407 AND status changed to "запрос информации" before -14d AND status = "запрос информации" AND !(status changed from "запрос информации" after (-14d)) ORDER BY updated ASC

Deleted user March 25, 2018

Did that JQL above work for you?

Dmitry March 28, 2018

Ребята, работает скрипт, Марк спасибо.

Suggest an answer

Log in or Sign up to answer