How to show the name of the user of the last note ?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
neokod
Posts: 4
Joined: 29 Sep 2005, 11:54

How to show the name of the user of the last note ?

Post by neokod »

Hi,

From the list of tickets, is it possible to show the last person who have posted a note on each tickets ?

Thanks
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

You should be able to. Checkout the following post on Mantis Blog:

Customising View Issues, Print Issues and CSV Export
http://www.futureware.biz/blog/index.ph ... &tb=1&pb=1

The article about explains in details how to customise the list of custom fields and native fields that you want to display.

However, you can customise the custom functions as follows:
- Add a column name to be displayed as "last_note_author".
- Implement the functionality to display the title for this column.
- Implement the functionality to display the value for this column. This will make use of the issue id to query the database and get the last note. From the last note it will get the author.

Keep your custom code in the implementation of the custom functions. Try not to change in the standard APIs.

Regards,
Victor.
Mantis Blog
http://www.futureware.biz/
neokod
Posts: 4
Joined: 29 Sep 2005, 11:54

Post by neokod »

I'll try, thanks a lot !
Post Reply