Skip to content

Commit

Permalink
Move from participants to JQL Tricks commentedByUser()
Browse files Browse the repository at this point in the history
The original query was working wrongly sometimes, because of
Jira re-indexing problems. And that was leading to some ToBiC
jobs to be relaunched, when they should not.

We have confirmed that, after a re-index, the original query
is back to work, but that's not nice-enough outcome.

So we have moved to the already installed JQL Tricks query
that seems to be immune to the indexing problems and properly
keeps out to all the issues where ToBiC already has participated
(by adding a comment).

Note that it has been checked that the JQL Tricks extension is
also available for Jira Cloud (with a change in the syntax), but
will work there, so it's ok if we add this new use here.

Ref: https://www.j-tricks.com/jql-tricks-cloud-migration.html
  • Loading branch information
stronk7 committed Dec 19, 2023
1 parent 4c0697c commit f76730a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ${basereq} --action getIssueList \
--jql "project = 'Moodle' \
AND status = 'Waiting for component lead review' \
AND status WAS NOT 'Waiting for component lead review' ON '-${schedulemins}' \
AND participants not in (tobic) \
AND issue NOT IN commentedByUser('tobic') \
AND level IS EMPTY \
ORDER BY priority DESC, votes DESC, 'Last comment date' ASC" \
--outputFormat 101 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ${basereq} --action getIssueList \
--jql "project = 'Moodle' \
AND status = 'Waiting for integration review' \
AND status WAS NOT 'Waiting for integration review' ON '-${schedulemins}' \
AND participants not in (tobic) \
AND issue NOT IN commentedByUser('tobic') \
AND level IS EMPTY \
ORDER BY priority DESC, votes DESC, 'Last comment date' ASC" \
--outputFormat 101 \
Expand Down

0 comments on commit f76730a

Please sign in to comment.