View Issue Details

IDProjectCategoryView StatusLast Update
0028110mantisbtrelationshipspublic2021-04-11 06:03
ReporterROSIE Assigned Todregad  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionno change required 
Summary0028110: New fields in 'View issues' for grouping bug by relation
Description

Would it be possible to have in Mantis a column in 'View issues' that only gives the ID of the parent bug?

This column could be called 'son of' or 'parent bug'.

This field would have 3 cases of use.

  • 1st case : I'm a bug that depends on another one, I display the id of the father bug.
  • 2nd case : I am a bug, which has child bugs but does not depend on another bug. The field displays the same identifier as the current bug.
  • 3rd case : I am a bug, which has no child bugs and does not depend on another bug.
    The field is empty, no value.

The status of the parent bug is not important.

The purpose of this request is to group the records on the same subject in a tabular view and to highlight specific fields.

In our case (see attached bitmap), these are two custom fields 'CodeVTT_Charge Initial' and 'CodeVTT_RAF'.

We could use this new field to filter and sort the values.

We can't use the principle of project versions because it would not be precise enough.

Currently we are using a custom field, but we have to fill it manually on each bug form.

Thank you in advance for your attention to our request.

TagsNo tags attached.
Attached Files
ExempleRegroupement_01.jpg (103,182 bytes)   
ExempleRegroupement_01.jpg (103,182 bytes)   

Activities

dregad

dregad

2021-03-25 13:40

developer   ~0065287

I'm not so keen on your suggestion. Consider that there is nothing that prevents an issue from having more than one parent and/or child issues. In this case, the behavior of this new field would be undefined.

I would suggest to deal with your specific scenario with a Plugin exposing the relationship column instead.

You may also be able to achieve the desired functionality using a Custom Function overriding custom_function_default_print_column_value(). This may be a bit simpler to implement, but a less clean solution IMO.

ROSIE

ROSIE

2021-03-25 14:24

reporter   ~0065290

Thank you for that answer. You can close this request.