Fortress Item Number in Source Code

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
mlukas
Posts: 7
Joined: Tue Oct 20, 2009 4:42 pm

Fortress Item Number in Source Code

Post by mlukas » Tue Oct 20, 2009 5:41 pm

When you check in a source code file you can link the checkin to a Fortress Item. This updates the status of the item and when you view the item you can see the list of source files that were modified as part of addressing the item.

Is there a way to get Fortress to put the item number into the source code file (ie a keyword) so that the cross reference works in both directions?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Fortress Item Number in Source Code

Post by Beth » Wed Oct 21, 2009 7:35 am

When you are adding the bug to check in against, look at your comments section. In the current version, the item number you check in against is automatically entered into the comments. Would that provide you with what you need?

I can put in a feature request for a keyword if the comments aren't providing you with what you need.
Beth Kieler
SourceGear Technical Support

mlukas
Posts: 7
Joined: Tue Oct 20, 2009 4:42 pm

Re: Fortress Item Number in Source Code

Post by mlukas » Wed Oct 21, 2009 11:49 am

Is this a new feature in 2.X? We are currently using 1.1

If the Fortress item number automatically gets put into the Comments and ends up in the soource file under the $Log$ keyword, that would do the trick.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Fortress Item Number in Source Code

Post by Beth » Fri Oct 23, 2009 3:03 pm

Try using the browse button to select which bug to check in against. That should add the bug information into the comment.
Beth Kieler
SourceGear Technical Support

AjarnMark
Posts: 60
Joined: Mon Oct 29, 2007 4:22 pm
Location: Seattle, WA

Re: Fortress Item Number in Source Code

Post by AjarnMark » Mon Oct 26, 2009 9:21 am

Beth, you're talking about the check-in comment inside Fortress which can be seen during a Show History, right? Not a comment section within an individual source code file?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Fortress Item Number in Source Code

Post by Beth » Mon Oct 26, 2009 2:03 pm

Yes, I'm still talking about getting the item number plugged into the comments inside Fortress. For getting them inside of the actual file, I will need to put in a feature request.
Beth Kieler
SourceGear Technical Support

Post Reply