Antrax810 / csharptest-net

Automatically exported from code.google.com/p/csharptest-net
0 stars 0 forks source link

Selecting Multiple Issues #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. SVN->Commit
2. Press the Jira Issues Button and select two or more issues/bugs.
3.

What is the expected output? 

Issue/Bug text box in upper right hard of commit form should list all issue or 
bug id numbers of the selected issues. The number should be seperated by 
commas. 

Example:

id(s) selected on Slect Issues Form:
MFP-312
MFP-576
MFP-954

Text Box on Commit Form
312,576,954 or

MFP-312,MFP-576,MFP-954

What do you see instead?

Text Box on Commit Form shows only one issue id.

MFP-954

What version of the product are you using? On what operating system?

Current version as of 23 August 2010 (32 bit)
Win 7
Tortoise SVN 1.6.10

Please provide any additional information below.

Original issue reported on code.google.com by johnrubi...@gmail.com on 27 Aug 2010 at 6:06

GoogleCodeExporter commented 8 years ago
??? hrmm.  This seems to be one of those "can't please everyone" things...  I 
actually just changed it to only show one in that box due to complaints that 
the defect id list was not passing the numerical filter.  I'm still considering 
a few possible ways I please both types of users.

for now see this code to fix it:
http://code.google.com/p/csharptest-net/source/browse/trunk/src/Tools/SvnPlugin/
MyPlugin.cs#372

Original comment by Grig...@gmail.com on 14 Sep 2010 at 1:34

GoogleCodeExporter commented 8 years ago
I would think that you would need to include all the issue ids otherwise only 
one hyperlink is shown in the Tortoise SVN log. Multiple issue ids, with the 
bugtraq:number property set to TRUE, will work if the ids are formatted as a 
numeric comma delimited string such as 111,222,333,444

Original comment by johnrubi...@gmail.com on 14 Sep 2010 at 11:43

GoogleCodeExporter commented 8 years ago
This can be solved by setting the value for the bugtraq:logregex, see 
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html

We use the characters 'SV-' to previx defects and set our bugtraq:logregex to 
the following two lines of text:
([Ss][Vv]-[0-9]+)[^\w]
(\d+)

Once this is set, TortoiseSVN will correctly place all defect ids into the 
bugId field of the commit.

Original comment by Grig...@gmail.com on 26 Jan 2011 at 10:54