remove tags which are no longer useful
Moderators: Developer, Contributor
-
- Posts: 60
- Joined: 03 Jan 2018, 15:39
- Location: Toronto, Canada
remove tags which are no longer useful
I have a tag named 'nouse', which has been attached to a few of issues in mantis, e.g. 100 of them containing tag 'nouse', can I first remove the tag from these 100 issues; second delete this 'nouse' tag , making it no longer existing ?
Re: remove tags which are no longer useful
Why do you want first remove the tag from issues?
You can delete a tag, if you don't need it any longer.
After that, the tag is no longer attached to any issue.
You can delete a tag, if you don't need it any longer.
After that, the tag is no longer attached to any issue.
-
- Posts: 60
- Joined: 03 Jan 2018, 15:39
- Location: Toronto, Canada
Re: remove tags which are no longer useful
I see. thank you!
before I remove the tag, I always want to know who is using this tag, and where used, is there a quick way to review ?
to remove this tag, I just do that from database level 'delete' ?
before I remove the tag, I always want to know who is using this tag, and where used, is there a quick way to review ?
to remove this tag, I just do that from database level 'delete' ?
Re: remove tags which are no longer useful
It's listed under Manage > Manage tags
Click the tag you want to remove to get page "Tag Details".
There is a button "Attached issues" to get the list of issues where the tag is attached.
Why database level? There is a button "Delete Tag" on the same page mentioned above.SunnyMantis wrote: ↑05 Feb 2018, 14:08 to remove this tag, I just do that from database level 'delete' ?
-
- Posts: 60
- Joined: 03 Jan 2018, 15:39
- Location: Toronto, Canada
Re: remove tags which are no longer useful
oh, I see, end user can do that on their own. good.
-
- Posts: 60
- Joined: 03 Jan 2018, 15:39
- Location: Toronto, Canada
Re: remove tags which are no longer useful
our version still 1.1.7, cannot see any thing like Manage > Manage tags , anywhere to enable that, please ?
Re: remove tags which are no longer useful
No, this functionality has been introduced 2009 in version 1.2. https://www.mantisbt.org/bugs/view.php?id=10026SunnyMantis wrote: ↑05 Feb 2018, 16:57 our version still 1.1.7, cannot see any thing like Manage > Manage tags , anywhere to enable that, please ?
-
- Posts: 60
- Joined: 03 Jan 2018, 15:39
- Location: Toronto, Canada
Re: remove tags which are no longer useful
Then so bad, we can only go database level to arrange tag related operation
no wonder so much junk in our database , so anything you suggest me do next ?
no wonder so much junk in our database , so anything you suggest me do next ?
Re: remove tags which are no longer useful
It's your decision to choose between
- go on using quite outdated Mantis and delete data from database using SQL
- update Mantis and delete data from database using UI
-
- Posts: 60
- Joined: 03 Jan 2018, 15:39
- Location: Toronto, Canada
Re: remove tags which are no longer useful
Thank you!
while , update mantis ---- from v1.1.7 ?
how ? I can run a higher version of mantis , but cannot get data from 1.1.7 running on higher version.
while , update mantis ---- from v1.1.7 ?
how ? I can run a higher version of mantis , but cannot get data from 1.1.7 running on higher version.
Re: remove tags which are no longer useful
Check Administrator Guide on how to upgrade
https://www.mantisbt.org/docs/master/en ... ll.upgrade
https://www.mantisbt.org/docs/master/en ... ll.upgrade
-
- Posts: 60
- Joined: 03 Jan 2018, 15:39
- Location: Toronto, Canada
Re: remove tags which are no longer useful
we have discussed about upgrading 1.1.7, but not possible; we can only deal with the data from 1.1.7 , mapping over to another tool, such as jira.
Data wise, we need mantis data;
Interface wise, we are not able to continue on mantis, sadly.
Data wise, we need mantis data;
Interface wise, we are not able to continue on mantis, sadly.
-
- Posts: 60
- Joined: 03 Jan 2018, 15:39
- Location: Toronto, Canada
Re: remove tags which are no longer useful
Yes, we can do that to organize tags/labels.
One more thing: for tags which only created, but not attached to any issue, can we pull those out of database by a select query somehow ?
for example, although tag XXXXX in tag dropdown list, but nobody ever used this XXXXX tag, what can be used to identify such situation in database, please ?
One more thing: for tags which only created, but not attached to any issue, can we pull those out of database by a select query somehow ?
for example, although tag XXXXX in tag dropdown list, but nobody ever used this XXXXX tag, what can be used to identify such situation in database, please ?
Re: remove tags which are no longer useful
Check current ERD, it should not be very different from 1.1.x concerning tags, but I didn't check https://www.mantisbt.org/docs/master/en ... es/erd.png
For differences between 1.1.x and 1.3.x or 2.x check admin/schema.php
For differences between 1.1.x and 1.3.x or 2.x check admin/schema.php