Assignto and Target Release showing empty value

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
jazz
Posts: 9
Joined: 23 Jun 2016, 18:48

Assignto and Target Release showing empty value

Post by jazz »

I just added values in field Target Release".No empty values were given .But I am not able to understand how can these fields showing empty strings in values.(See attached Image) .

Same way "Assign To" is also showing empty string . Is this some bug or default behaviour of ManitsBT. 1.2.19 version.
See attached image .

Regards
Attachments
Assignto (2).jpg
Assignto (2).jpg (101.13 KiB) Viewed 8499 times
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Assignto and Target Release showing empty value

Post by atrol »

There is no field "Target Release" in Mantis but a similar one "Target Version".
Is your "Target Release" a custom field or a standard field which has been renamed?
Please use Search before posting and read the Manual
jazz
Posts: 9
Joined: 23 Jun 2016, 18:48

Re: Assignto and Target Release showing empty value

Post by jazz »

Yes Atrol ,

Standard field Target Version is renamed as "target Release" .
Can you pls help to hide empty value here for "Target Version" and "Assign to " field.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Assignto and Target Release showing empty value

Post by atrol »

This works as designed.
You can assign a user but you don't have to assign.
You might consider to auto-assign based on reported category.
There is a field "Assign To" on page where categories are managed.

You can set a target version, but you don't have to set one.

You can write a plugin to change this behavior or change the source of Mantis (not recommended as you might get problems when upgrading),
Please use Search before posting and read the Manual
jazz
Posts: 9
Joined: 23 Jun 2016, 18:48

Re: Assignto and Target Release showing empty value

Post by jazz »

Thanks Atrol for reply .

Can you please guide if I want to remove this empty value (from target version,release and AssignTo ) what changes I would need to make in php files.Can you name some of files to change.
I think it will be small change so should be easy to implement.

Waiting for your reply.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Assignto and Target Release showing empty value

Post by atrol »

I think that automatically assigning to the first user in the list and setting target version to the first version in the list does not make that much sense.
It's better to have no value and let users think about the values they want to enter.
Please use Search before posting and read the Manual
Post Reply