Skip to content

Commit adf44f1

Browse files
authored
Merge pull request #713 from linear-b/fix-pm-templates
Use template syntax for tracker URLs
2 parents 4b00bf1 + 8c6f156 commit adf44f1

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

docs/downloads/automation-library/integrations/azure-boards/link_azure_boards.cm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ azureProject: my_project
1515
{% if (ticket | includes(regex=r/.+/)) %}
1616
{% set ticketid = ticket %}
1717
{% endif %}
18-
{% endfor %}
18+
{% endfor %}
1919

2020
automations:
2121
link_azure_boards:
@@ -32,7 +32,7 @@ has:
3232

3333
tracker:
3434
azure:
35-
baseurl: https://dev.azure.com/[orgName]/[azureProject]/_workitems/
35+
baseurl: https://dev.azure.com/{{orgName}}/{{azureProject}}/_workitems/
3636
pattern: r/(\w+)-(\w+)-(\d+)/
3737

3838
tickets:

docs/downloads/automation-library/integrations/jira/link_jira.cm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ orgName: org
1313
{% if (ticket | includes(regex=r/.+/)) %}
1414
{% set ticketid = ticket %}
1515
{% endif %}
16-
{% endfor %}
16+
{% endfor %}
1717

1818
automations:
1919
link_jira:
@@ -30,7 +30,7 @@ has:
3030

3131
tracker:
3232
jira:
33-
baseurl: https://[orgName].atlassian.net/browse/
33+
baseurl: https://{{orgName}}.atlassian.net/browse/
3434
pattern: r/\b[A-Za-z]+-\d+\b/
3535

3636
tickets:

docs/downloads/automation-library/integrations/shortcut/link_shortcut.cm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ orgName: org
1414
{% if (ticket | includes(regex=r/.+/)) %}
1515
{% set ticketid = ticket %}
1616
{% endif %}
17-
{% endfor %}
17+
{% endfor %}
1818

1919
automations:
2020
link_shortcut:
@@ -31,7 +31,7 @@ has:
3131

3232
tracker:
3333
shortcut:
34-
baseurl: https://app.shortcut.com/[orgName]/story/
34+
baseurl: https://app.shortcut.com/{{orgName}}/story/
3535
pattern: r/(\w+)\/sc-(\d+)/
3636

3737
tickets:

docs/downloads/automation-library/standard/link_issue_tracker.cm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ azureProject: my_project
1414
{% if (ticket | includes(regex=r/.+/)) %}
1515
{% set ticketid = ticket %}
1616
{% endif %}
17-
{% endfor %}
17+
{% endfor %}
1818

1919
automations:
2020
comment_issue_tracker:
@@ -31,16 +31,16 @@ has:
3131

3232
tracker:
3333
jira:
34-
baseurl: https://[orgName].atlassian.net/browse/
34+
baseurl: https://{{orgName}}.atlassian.net/browse/
3535
pattern: r/\b[A-Za-z]+-\d+\b/
3636
asana:
37-
baseurl: https://app.asana.com/0/[asanaProject]/0/
37+
baseurl: https://app.asana.com/0/{{asanaProject}}/0/
3838
pattern: r/asana-(\d+)/
3939
azure:
40-
baseurl: https://dev.azure.com/[orgName]/[azureProject]/_workitems/
40+
baseurl: https://dev.azure.com/{{orgName}}/{{azureProject}}/_workitems/
4141
pattern: r/(\w+)-(\w+)-(\d+)/
4242
shortcut:
43-
baseurl: https://app.shortcut.com/[orgName]/story/
43+
baseurl: https://app.shortcut.com/{{orgName}}/story/
4444
pattern: r/(\w+)\/sc-(\d+)/
4545

4646
tickets:

0 commit comments

Comments
 (0)