action #69322


coordination #69310: [epic] SUSE QA tools team ticket process helpers

Automatic check for SUSE QA tools WIP-Limit based on tickets

Added by okurz almost 4 years ago. Updated over 3 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


Acceptance criteria


Actions #1

Updated by okurz almost 4 years ago

We can query all issues that "SUSE QA tools" team members are working on:

curl -s -H "X-Redmine-API-Key: $redmine_api_key" "" | jq

with $redmine_api_key being my personal redmine API key that can be created in each person's profile, query_id=400 is the id for the query "tools team - what members of the team are working on" and project_id=18 is for "openQA". I added limit=200 as otherwise some tickets were not shown and we will filter down later anyway. It should be possible to include a "status" filter in the query directly but did not manage to do that, e.g. with status_id=2 to only return "In Progress" according to , maybe not for json api, only xml.

So with saving the query result for reuse:

curl -s -H "X-Redmine-API-Key: $redmine_api_key" "" > working_on.json
cat working_on.json | jq -r '.issues | .[] | select("In Progress") | .id' | wc -l

returning correctly 9 tickets as of now.

Actions #2

Updated by okurz almost 4 years ago

  • Status changed from Workable to In Progress
  • Assignee set to okurz

I added the user "openqa_review" to the QA project in so that the bot can access the internal ticket query. I added the redmine api key of said user as REDMINE_API_KEY in

Created with a script and a github actions pipeline.

We have yet to see if the syntax in the workflow file is correct and if it triggers as expected. Another way might be to trigger manually but I guess I can wait for now :)

Actions #3

Updated by okurz almost 4 years ago

  • Status changed from In Progress to Resolved shows the checks working fine. Created to show a bit more output but without functional impact.


Also available in: Atom PDF