examples: matching storyboard stories

Change-Id: I5c3d42adb9f6654c1d0b1cacfa48eb8c5146e2c7
This commit is contained in:
Dmitry Tantsur 2021-06-29 15:03:49 +02:00
parent b19227ea28
commit cd60a82f6a
1 changed files with 11 additions and 0 deletions

View File

@ -73,6 +73,17 @@ commentlinks:
- link:
text: "blueprint {blueprint}"
url: "https://blueprints.launchpad.net/openstack/?searchtext={blueprint}"
# Match external references to stories and tasks on StoryBoard
- match: "(?P<bug_str>(?:[Ss]tory) *: *#?(?P<bug_id>\\d+))"
replacements:
- link:
text: "{bug_str}"
url: "https://storyboard.openstack.org/#!/story/{bug_id}"
- match: "(?P<bug_str>(?:[Tt]ask) *: *#?(?P<bug_id>\\d+))"
replacements:
- link:
text: "{bug_str}"
url: "https://storyboard.openstack.org/#!/task/{bug_id}"
# This is the query used for the list of changes when a project is
# selected. The default is "status:open". If you don't want to see