You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Wenig (JIRA)" <ji...@codehaus.org> on 2010/06/14 15:23:12 UTC

[jira] Created: (MCHANGES-202) Enhance action-tag with a type attribute

Enhance action-tag with a type attribute
----------------------------------------

                 Key: MCHANGES-202
                 URL: http://jira.codehaus.org/browse/MCHANGES-202
             Project: Maven 2.x Changes Plugin
          Issue Type: Improvement
          Components: changes-report
    Affects Versions: 2.3
            Reporter: Michael Wenig


When using the manual created report there is only the possibility to set an issue id. 

it would be nice if there were also an attribute issueType (e.g. UserStory, Bug, ...)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-202) Enhance action-tag with a type attribute

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252501#action_252501 ] 

Dennis Lundberg commented on MCHANGES-202:
------------------------------------------

So the problem is really that the action.type attribute is different from issue.type (as used in JIRA).

I feel that best thing would be to change the set of values allowed in action.type. It should be more like the issue type that is used in current issue management systems. The problem is figuring out a reasonable set of values. A standard JIRA installation has these values: Bug, New Feature, Task and Improvement. My mapping of those values to the ones used in action.type would look like this:

{noformat}
add    <--> New Feature
update <--> Improvement
fix    <--> Bug
remove <--> Task
{noformat}


That is something that we will have to face moving forward when this plugin when we start to add more issue management systems.

Another question is whether to allow the user to add custom values for action.type. The current XML schema allows it, but you don't get any icons for those types, and because we currently don't print out the actual text for the type - that would be a problem.

> Enhance action-tag with a type attribute
> ----------------------------------------
>
>                 Key: MCHANGES-202
>                 URL: http://jira.codehaus.org/browse/MCHANGES-202
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes.xml
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> When using the manual created report there is only the possibility to set an issue id. 
> it would be nice if there were also an attribute issueType (e.g. UserStory, Bug, ...)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-202) Enhance action-tag with a type attribute

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225264#action_225264 ] 

Dennis Lundberg commented on MCHANGES-202:
------------------------------------------

There is already an attribute called "type" for this in the <issue> element.
See http://maven.apache.org/plugins/maven-changes-plugin/changes.html#class_action

> Enhance action-tag with a type attribute
> ----------------------------------------
>
>                 Key: MCHANGES-202
>                 URL: http://jira.codehaus.org/browse/MCHANGES-202
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes-report
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> When using the manual created report there is only the possibility to set an issue id. 
> it would be nice if there were also an attribute issueType (e.g. UserStory, Bug, ...)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-202) Enhance action-tag with a type attribute

Posted by "Michael Wenig (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225298#action_225298 ] 

Michael Wenig commented on MCHANGES-202:
----------------------------------------

Indeed there is an attribute which is limited to 'add', 'update', 'fix' and 'remove'. This is the type of the change and not the type of the issue.

What we need is something like <action type="add" issue="TEST-123" issueType="UserStory">....

It would be just adding an optional attribute which is rendered in the list as 'issueType'

> Enhance action-tag with a type attribute
> ----------------------------------------
>
>                 Key: MCHANGES-202
>                 URL: http://jira.codehaus.org/browse/MCHANGES-202
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes-report
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> When using the manual created report there is only the possibility to set an issue id. 
> it would be nice if there were also an attribute issueType (e.g. UserStory, Bug, ...)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-202) Enhance action-tag with a type attribute

Posted by "Michael Wenig (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225299#action_225299 ] 

Michael Wenig commented on MCHANGES-202:
----------------------------------------

Indeed there is an attribute which is limited to 'add', 'update', 'fix' and 'remove'. This is the type of the change and not the type of the issue.

What we need is something like <action type="add" issue="TEST-123" issueType="UserStory">....

It would be just adding an optional attribute which is rendered in the list as 'issueType'

> Enhance action-tag with a type attribute
> ----------------------------------------
>
>                 Key: MCHANGES-202
>                 URL: http://jira.codehaus.org/browse/MCHANGES-202
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes-report
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> When using the manual created report there is only the possibility to set an issue id. 
> it would be nice if there were also an attribute issueType (e.g. UserStory, Bug, ...)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-202) Enhance action-tag with a type attribute

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225380#action_225380 ] 

Dennis Lundberg commented on MCHANGES-202:
------------------------------------------

I'm sorry, but I fail to see the difference between type and issueType.
Can you explain it some more? Is that a feature of some other issue tracker that you can point us to?

> Enhance action-tag with a type attribute
> ----------------------------------------
>
>                 Key: MCHANGES-202
>                 URL: http://jira.codehaus.org/browse/MCHANGES-202
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes-report
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> When using the manual created report there is only the possibility to set an issue id. 
> it would be nice if there were also an attribute issueType (e.g. UserStory, Bug, ...)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MCHANGES-202) Enhance action-tag with a type attribute

Posted by "Michael Wenig (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MCHANGES-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225414#action_225414 ] 

Michael Wenig commented on MCHANGES-202:
----------------------------------------

There is a difference between the type of a change and the type of an issue.

The existing type attribute is limited to 'add', 'update', 'fix' and 'remove' and expresses the kind of change at the source level.

When you compare the sample changes report with the sample jira report (
http://maven.apache.org/plugins/maven-changes-plugin/changes-report.html vs.
http://maven.apache.org/plugins/maven-changes-plugin/jira-report.html)

you can see that on the jira report for every change the type of issue is mentioned (Bug, New Feature, ...). The changes-report is only showing an image about the type and the possible types are predefined. SO there is no possibility to mention the type of the issue (like a UserStory) except entering it in the description.

If you try to achieve a report like the jira-report using the changes.xml there is a missing issueType which is entered as text in the report (and perhaps the report is grouped by the issueType):

Something like
|[type-image]|UserStory|TEST-123|bla bla bla||micha||

> Enhance action-tag with a type attribute
> ----------------------------------------
>
>                 Key: MCHANGES-202
>                 URL: http://jira.codehaus.org/browse/MCHANGES-202
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: changes-report
>    Affects Versions: 2.3
>            Reporter: Michael Wenig
>
> When using the manual created report there is only the possibility to set an issue id. 
> it would be nice if there were also an attribute issueType (e.g. UserStory, Bug, ...)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira