wiki:TicketMilestoneDisplayMacro

Version 2 (modified by fsbojason, 7 years ago) (diff)

--

Ticket Milestone Display Macro

Description

(I couldn't commit to track-hack subversion, so the source is attached)

This macro will display a linked ticket number and linked milestone.

This is useful for svn commit messages. If all revisions are committed with this macro, you will see the revision logs with both its related ticket number and milestone.

Being new to writing macros, I understand the old style macros will not be supported in v.11, but I don't quite understand how to make this macro into a plugin using eggs. If anybody can provide a bit of help with this, I will upload the plugin after it's done.

Also, I would like to simplify the command. Currently it is

[[tm(10)]]

Is it possible to change this to something simpler like

[[#10]]
or
[[tm10]]

Any help is much appreciated!

Bugs/Feature Requests

Existing bugs and feature requests for TicketMilestoneDisplayMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TicketMilestoneDisplayMacro from here using Subversion, or browse the source with Trac.

Example

[[tm(10)]]

gives you

[Ticket !#10 Milestone 1.0]

Recent Changes

[8519] by rjollos on 2010-08-30 07:23:12
Added revision info to macro. Fixes #6561.
[8518] by rjollos on 2010-08-30 07:22:19
Adding macro to repository that was previously attached to the project's wiki page.
[2345] by fsbojason on 2007-06-27 19:49:18
New hack TicketMilestoneDisplayMacro, created by fsbojason

Author/Contributors

Author: fsbojason
Contributors: