tessus / mwExtensionMantis

MediaWiki Extension:Mantis
https://www.mediawiki.org/wiki/Extension:Mantis
GNU General Public License v2.0
2 stars 6 forks source link

Ability to show only 1 severity without specifying count # #4

Closed luzpaz closed 10 years ago

luzpaz commented 10 years ago

So we have a page for our 1.5.0 blockers The formula we use is:

<mantis>
header = true
color  = true
show   = id, severity, status, updated, summary
orderby = severity
count = 60
</mantis>

If we don't specify count then the plugin lists all open bugs. Also as the 'blocker' bugs are closed non-blocker bugs creep in to the list.

Is there a way to just display all open 'blocker' bugs without having to set a count or worry about non-blocker bugs showing up in the list?

tessus commented 10 years ago

Yes, by default all open tickets are shown (if no status is specified).

You basically need the ability to specify the severity as a filter. I don't know why I haven't implemented this in the first place. It was a rather quick hack, so it didn't occur to me. I'll add it tomorrow. All of a sudden a few other ideas come to mind when I think about future enhancements...

Btw, you don't have to set header and color. They are set to true by default.

luzpaz commented 10 years ago

Thanks! :+1:

tessus commented 10 years ago

I've added a parameter severity to filter by it (2a59805). I haven't updated the documentation yet. Until then I leave this issue open.

That should do it:

<mantis>
show   = id, severity, status, updated, summary
severity = block
</mantis>
luzpaz commented 10 years ago

Thanks @tessus. Hey @moskalenko lets update the mwExtensionMantis to v1.3

tessus commented 10 years ago

Updated documentation.