Skip to content

Commit f76730a

Browse files
committed
Move from participants to JQL Tricks commentedByUser()
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
1 parent 4c0697c commit f76730a

File tree

2 files changed

+2
-2
lines changed
  • tracker_automations/bulk_prelaunch_jobs/criteria

2 files changed

+2
-2
lines changed

tracker_automations/bulk_prelaunch_jobs/criteria/awaiting_component_lead_review/query.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ${basereq} --action getIssueList \
22
--jql "project = 'Moodle' \
33
AND status = 'Waiting for component lead review' \
44
AND status WAS NOT 'Waiting for component lead review' ON '-${schedulemins}' \
5-
AND participants not in (tobic) \
5+
AND issue NOT IN commentedByUser('tobic') \
66
AND level IS EMPTY \
77
ORDER BY priority DESC, votes DESC, 'Last comment date' ASC" \
88
--outputFormat 101 \

tracker_automations/bulk_prelaunch_jobs/criteria/awaiting_integration/query.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ${basereq} --action getIssueList \
22
--jql "project = 'Moodle' \
33
AND status = 'Waiting for integration review' \
44
AND status WAS NOT 'Waiting for integration review' ON '-${schedulemins}' \
5-
AND participants not in (tobic) \
5+
AND issue NOT IN commentedByUser('tobic') \
66
AND level IS EMPTY \
77
ORDER BY priority DESC, votes DESC, 'Last comment date' ASC" \
88
--outputFormat 101 \

0 commit comments

Comments
 (0)