How do I reorder the Defect Comments on ALM?

  • Questions
  • How do I reorder the Defect Comments on ALM?
Question ID: 105027

I would like to sort the R&D comments in reverse chronological order. How do I do this, presumably through workflow code?

Marked as spam
Posted by (Questions: 2, Answers: 0)
Asked on June 4, 2013 5:26 pm
Answers (2)
Private answer

To do this you would actually have to edit the code behind the action that is triggered when the ''Add Comment'' button is clicked. In a test project in your QC environment you can add ''MsgBox ActionName'' under ActionCanExecute in workflow. Then when you click the ''Add Comment'' button you can see what action is being triggered.

Marked as spam
Posted by (Questions: 0, Answers: 352)
Answered on June 6, 2013 2:07 pm
Private answer

Defect comments have a field type of Memo (Blob) which means this is one field that can hold a large amount of text, like a Microsoft WordPad rich text document. So in order to re-order you would have to have a complex custom coding solution to search, reorder and move blocks of text around. Since the comments are free form, this would be challenging.

Marked as spam
Posted by (Questions: 23, Answers: 1)
Answered on June 7, 2013 7:33 pm