question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Identifying JIRA tickets in conventional-commits

See original GitHub issue

We use https://www.conventionalcommits.org/en/v1.0.0/ in our team.

So our commits look like:

type(scope): commit comment

long description

re #JIRA-ID

We see that if we do re #[JIRA-ID] in the commit, then it links to JIRA when we create a PR. But we’d prefer not to use the []

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
gazal-kcommented, Oct 6, 2021

Sorry, yes, I guess our commitlint tooling does not validate the footer against that pattern. But maybe try re #[JIRA-123]

1reaction
gazal-kcommented, Oct 5, 2021

Good to know. But we have since tweaked our convention for JIRA references in the footer to use the syntax: re [JIRA-123] which works like a charm 🙂, and does not seem to be really going against the spec for https://www.conventionalcommits.org/en/v1.0.0/.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identifying JIRA tickets in conventional-commits #354 - GitHub
We use https://www.conventionalcommits.org/en/v1.0.0/ in our team. So our commits look like: type(scope): commit comment long description re ...
Read more >
How to do Jira issue linking with conventional commits?
I have a new team-managed project and I want to enable issue linking so I can see Github references in Jira. I'd also...
Read more >
Finding tickets closed with no commits - Atlassian Community
I want to get stats on dev subtasks closed with no commit. Our way of working is that a dev must use the...
Read more >
How to get a list of Jira issues related to a branch
Hi, We use the Jira - BitBucket integration. So, every GIT commit is connected to one or many Jira issues. Assuming I would...
Read more >
Finding the ID for Issue Types | Jira - Atlassian Documentation
Navigate to the Administration > Issues > Issue Types page. On that page, hover your mouse cursor over the Edit operation link of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found