Is it possible to view a Sub-task Commit in the Devlopment panel of the Parent issue?

We have a user that says he was able to include multiple JIRA keys (Parent Key and and Sub-task Keys) in his Commit message and then view the Sub-task commits on the Development panel when viewing the Parent issue.

Is/was this possible? We recently upgraded our JIRA from 6.0.8 to 7.2.1 and he's saying that he thought it use to work before the upgrade.

1 answer

1 accepted

0 votes

No. On any issue, be it subtask or parent issue, you can only see the commits related to that issue. You cannot see the subtask commits on the parent issue.

Thanks Jobin!  I just came across this Open "Suggestion" ticket as well... https://jira.atlassian.com/browse/JRA-39327

Hey Jobin - I have a follow up question. There appears to have been a miscommunication. The user was actually complaining that he's not seeing the "commits" link in the Development panel when viewing the Sub-task in JIRA. His Commit message looks like this in Fisheye...

 

PROJECT-123: This is the Parent Task
- PROJECT-456: This is the Sub-task

He sees the "commits" link when viewing the PROJECT-123 parent Task ticket in JIRA , BUT he does NOT see the "commits" link when viewing the PROJECT-456 Sub-task ticket. Should he see it in the Sub-task? If so, is there specific syntax that should be used in the Commit message to get it to work?

 

Any help/insight would be greatly appreciated. ...thanks in advance!

Yes, commits related to subtasks should be visible on the subtask. There is no difference in syntax. As long as the commit message has the subtask key, the commit will be visible under the development panel of that subtask.

K, thanks! Any thoughts on why it wouldn't show up under the Development panel for the Sub-task in the above example? Just to be clear, that's one commit message with two JIRA Keys in it (NOT two separate Commit messages). Thanks again!

Nevermind, I was able to confirm this myself. It does in fact look like the preceding hyphen is causing the problem. Here's another example I came across that confirms this...

Sample Commit Message with multiple JIRA Keys:

Merge pull request #594 from test-repo
Includes Bugs
- BUG-1 Page load is very slow
- BUG-2 Inability to Run the Compiler before setup
- BUG-3 Most of the fields don't have Use Default Value option
BUG-4 Wrong default value on Price field
BUG-5 Multiple plugins cannot be run


Notice some have preceding hyphens and others do not. The commits successfully show in JIRA for BUG-4 and BUG-5 but NOT for BUG-1, BUG-2, and BUG-3.

 

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,007 views 5 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot