Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

feat: Add support to Jira's bot #3

Merged
merged 3 commits into from
May 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .commit.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The following is automatically added by GJira

Related Jira issue: {{ key }}
Related Jira story: {{ parent__key }}
Related Jira issue: [{{ key }}]
Related Jira story: [{{ parent__key }}]
Related Jira description: {{ summary }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ customizable templates based on Jira context. For example:
```text
# The following is automatically by 'commit.template'

Jira issue: {{ key }}
{% if parent__key %}{Jira story: {{ parent__key }}}{% endif %}
{% if summary %}{Jira summary: {{ summary }}}{% endif %}
Jira issue: [{{ key }}]
{% if parent__key %}Jira story: [{{ parent__key }}]{% endif %}
{% if summary %}Jira summary: {{ summary }}{% endif %}
```

The keys are related to Jira issue attributes. For example:
Expand Down