Hyperlink task footers
Add a commentlink entry which matches task footers in commit messages and links them to the corresponding task URL on storyboard. This has already been tested on review-dev, and seems to work without breaking the separate its-storyboard entry which handles task updating automation. Change-Id: I8e69fa7e5dfdef5ea9c05fa457c4ee08c624d005
This commit is contained in:
parent
04c3294893
commit
509d3d1fd7
@ -155,6 +155,11 @@ class openstack_project::review (
|
|||||||
match => '\\\\b[Ss]tory:? #?(\\\\d+)',
|
match => '\\\\b[Ss]tory:? #?(\\\\d+)',
|
||||||
link => 'https://storyboard.openstack.org/#!/story/$1',
|
link => 'https://storyboard.openstack.org/#!/story/$1',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name => 'task',
|
||||||
|
match => '\\\\b[Tt]ask:? #?(\\\\d+)',
|
||||||
|
link => 'https://storyboard.openstack.org/#!/task/$1',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name => 'its-storyboard',
|
name => 'its-storyboard',
|
||||||
match => '\\\\b[Tt]ask:? #?(\\\\d+)',
|
match => '\\\\b[Tt]ask:? #?(\\\\d+)',
|
||||||
|
Loading…
Reference in New Issue
Block a user