How do I delete Work Items?
I may be missing something thats really easy to do, but I was creating similar work items for a few developers, and I got in a situation where I created the same work item twice for a developer. I wanted to just delete one of the duplicate work items, but seemed to be unable to. I tried to hit the Demote button, but realized that was not what I wanted.
I do not want to just resolve the duplicate work item, since it would then show up on resolved queries and such. I basically want to remove the work item completely. Is there an easy way to do this?
I do not want to just resolve the duplicate work item, since it would then show up on resolved queries and such. I basically want to remove the work item completely. Is there an easy way to do this?
4 answers
Thank you for pointing me to the thread that allowed me to close the duplicate Work Item with the proper reasoning. One thing I would caution users is that when you are closing a duplicate Work Item, make sure to use Close As... Invalid, instead of Close As... Duplicate, because if you use Duplicate, then Jazz outputs to the Discussion section for the Work Item:
This bug has been marked as a duplicate of work item 15.
When using Close As.. Duplicate, Jazz assumes the Work Item was a defect, even if the Type of the work item is set to Task.
Is this by design?
This bug has been marked as a duplicate of work item 15.
When using Close As.. Duplicate, Jazz assumes the Work Item was a defect, even if the Type of the work item is set to Task.
Is this by design?
Re you last question: that's an oversight, I've opened defect 42755 to address this (https://jazz.net/jazz/resource/itemName/WorkItem/42755).
Thanks,
Christof
Jazz Work Item team
JPibm wrote:
Thanks,
Christof
Jazz Work Item team
JPibm wrote:
Thank you for pointing me to the thread that allowed me to close the
duplicate Work Item with the proper reasoning. One thing I would
caution users is that when you are closing a duplicate Work Item,
make sure to use Close As... Invalid, instead of Close As...
Duplicate, because if you use Duplicate, then Jazz outputs to the
Discussion section for the Work Item:
This bug has been marked as a duplicate of work item 15.
When using Close As.. Duplicate, Jazz assumes the Work Item was a
defect, even if the Type of the work item is set to Task.
Is this by design?
This answer doesn't answer the question of how to delete a work item.
Comments
By default you cannot.. permission to delete is turned off..
(changing history is bad!).
But if you must, open the project configuration,
expand the tree, and enable
Team Configuration->Permissions-> Workitem->Delete Workitem
for whichever role you believe deserves this power
- Of course changing history is bad. However in some environment it is required. (IE: Think privacy laws in the USA for healthcare. If a someone accidentally adds personal data to to a work item, even if they change it - it is still in the history and must be deleted for the database to comply with the law.)
- According to the RTC help files, not only are the permissions you mentioned required, but also a person must be in the repository group JazzAdmins or JazzProjectAdmins.
- In our environment, that isn't working. A user is in JazzProjectAdmins and has the role with correct permissions and still the delete function is not available. (I've already opened a PMR with IBM since the forum here doesn't seem to have much about the bug.)
But hey - this is the first answer I've got in a long time - so Thank You!