Khush
Khush

Reputation: 41

How to add git commits in JIRA

If I have added some commits in git repository , How would I see those commits in linked JIRA story ?

If I have some code repository in GIT say "ABC" and I have account in JIRA for logging bugs , story and test. I have created some test case (say some JIRA id -XXX)and after it I have automated the test case , to track the code of this test case I wanted to see this commits corresponding to JIRA id - XXX

Tried way : One way I know is , add the JIRA id in commit message while commit to git then this is automatically comes in commits list under that JIRA id.

I am looking for the solution which will allow me to merge the commits later on under that JIRA ID

Upvotes: 4

Views: 2519

Answers (2)

J. Shaker
J. Shaker

Reputation: 195

What you're looking for is JIRA webhooks.

https://confluence.atlassian.com/adminjiraserver073/managing-webhooks-867028229.html

Upvotes: 1

Nicko
Nicko

Reputation: 61

As far as I know, adding the JIRA ID to the commit message is the only way. I don't see any JIRA functionality for adding commits otherwise.

Upvotes: 0

Related Questions