[jbosstools-issues] [JBoss JIRA] (JBIDE-23091) use #close smart tag in commit messages so JIRAs are closed automatically

Nick Boldt (JIRA) issues at jboss.org
Wed Sep 21 15:49:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-23091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296714#comment-13296714 ] 

Nick Boldt edited comment on JBIDE-23091 at 9/21/16 3:48 PM:
-------------------------------------------------------------

Seems that currently, despite instructions [1], #close and #resolve don't work to close or resolve an issue in JIRA.

[1] https://confluence.atlassian.com/bitbucket/processing-jira-software-issues-with-smart-commit-messages-298979931.html

Some things I tried:

{code:title=https://issues.jboss.org/browse/JBIDE-23090?devStatusDetailDialog=repository}
"JBIDE-23090 #time 30m #comment Fixed - this commit comment should cause this JIRA to be auto-closed. #close"
"JBIDE-23090 #resolve Issue resolved by smart commit"
"JBIDE-23090 #resolve #comment seems that while I can put a comment in a JIRA with smart commit comments, I can't cause an issue to be resolved or closed #resolve #close"
"JBIDE-23090 #resolve"
"JBIDE-23090 #resolved"
"JBIDE-23090 #close #comment Mr Gorbachev, tear down this JIRA! "
{code}

Only thing that DID work was being able to auto-comment in JIRAs when pushing a commit to github:

https://issues.jboss.org/browse/JBIDE-23090?focusedCommentId=13296702&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13296702
and
https://issues.jboss.org/browse/JBIDE-23090?focusedCommentId=13296704&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13296704




was (Author: nickboldt):
Seems that currently, despite instructions [1], #close and #resolve don't work to close or resolve an issue in JIRA.

[1] https://confluence.atlassian.com/bitbucket/processing-jira-software-issues-with-smart-commit-messages-298979931.html

Some things I tried:

{code:title=https://issues.jboss.org/browse/JBIDE-23090?devStatusDetailDialog=repository}
"JBIDE-23090 #time 30m #comment Fixed - this commit comment should cause this JIRA to be auto-closed. #close"
"JBIDE-23090 #resolve Issue resolved by smart commit"
"JBIDE-23090 #resolve #comment seems that while I can put a comment in a JIRA with smart commit comments, I can't cause an issue to be resolved or closed #resolve #close"
"JBIDE-23090 #resolve"
"JBIDE-23090 #resolved"
{code}

Only thing that DID work was being able to auto-comment in JIRAs when pushing a commit to github:

https://issues.jboss.org/browse/JBIDE-23090?focusedCommentId=13296702&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13296702
and
https://issues.jboss.org/browse/JBIDE-23090?focusedCommentId=13296704&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13296704



> use #close smart tag in commit messages so JIRAs are closed automatically
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-23091
>                 URL: https://issues.jboss.org/browse/JBIDE-23091
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>             Fix For: 4.4.2.AM1
>
>
> Rather than having to create and bulk-close 17 JIRAs, we should use smart commit msgs that cause JIRA workflow to close JIRAs automatically



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list