Red Hat Bugzilla – Bug 998040
On retrace-server 'manager' page, if 'case no.' is filled in, display clickable link to case in the 'Running tasks' and 'Finished tasks'
Last modified: 2015-03-22 20:42:08 EDT
Description of problem:
This is probably a simple fix as well. If someone fills in the 'case number' field, on the manager page, rather than displaying the number, display a clickable link to the case of the following form:
You may want to make a configuration parameter (/etc/retrace-server.conf) in case this changes. I'll see if I can get some input from the people dealing with case management which may know whether this is likely to change. It's been the same for a while, but a config parameter is probably the way to go longer term.
Example /etc/retrace-server.conf parameter
# Prefix URL to prepend to 'case no.' for clickable link on 'manager' page
Then in the code you just do:
CaseNumberURL = CaseNumberPrefixURL + $(cat <taskdir>/caseno)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to 'manager' page which displays tasks.
2. Look for a task which is in either 'Running Tasks" or "Finished tasks" list, and that has a non-blank 'case no.' field.
It just displays as a number, which is ok, but could be better.
A clickable link to the case would be an productivity add.
Should be an easy fix / win.
Easy, just one question. If I understand correctly,
will break as soon as the case numbers reach 7 digits in length.
CaseNumberPrefixURL=https://c.na7.visual.force.com/apex/Case_View?sbstr=%08d where '%08d' is a standard python format specifier and the value of 'caseno' will be passed as the only argument?
(In reply to Michal Toman from comment #1)
> Easy, just one question. If I understand correctly,
> will break as soon as the case numbers reach 7 digits in length.
Indeed, you are correct!
> What about
> where '%08d' is a standard python format specifier and the value of 'caseno'
> will be passed as the only argument?
Sounds very good to me!
Fixed in upstream.
Author: Michal Toman <firstname.lastname@example.org>
Date: Wed Aug 21 10:10:01 2013 +0200
manager: add possibility to make case number clickable
retrace-server-1.10-1.el6 has been submitted as an update for Fedora EPEL 6.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing retrace-server-1.10-1.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
retrace-server-1.10-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.