How to add a hyperlink text on an RTC workitem
I would like to add a hyperlink text/label on our RTC Defect form which user can click and it would take them to an external page where we have some defect guideline posted.
How do I achieve this? |
Accepted answer
Under "Defect" Workitem presentation ==> You can directly add "Non-Attribute-based presentation" ==> Kind ==> "Static Rich Text" and in "Text" you can add your url some thing like below
Guidelines: ☁ https://mycompany.com/wiki/RTCGuidelines#Defect
Now create a defect and check.
Rohit Rishabh selected this answer as the correct answer
Comments Nice option as well.
Rohit Rishabh
commented Mar 24 '16, 3:22 p.m.
Hi Mohan - It looked as a simple solution, but when I tried it and added a text like https://xyz.com/wiki/guideline.aspx , it appeared as a plain text and not as a hyperlink on the defect form, which means user need to copy the text and paste on a browser to go to the page.
Try to create the haperlink somewhere and copy /paste it
Rohit Rishabh
commented Mar 24 '16, 3:45 p.m.
Did not work. I typed a text Guideline in MS Word and added a hyperlink to an external site, then copy the text and paste in the Text section of ht e Static Text presentation, all it pasted was a plain Guideline with no hyperlink.
1
Mohanraj Ragupathi
commented Mar 28 '16, 12:45 a.m.
Rohit,
Sorry, You have to use "Static Rich Text" instead of "Static Text" in Non-Attribute based presentation. This will solve your hyperlink issue.
Rohit Rishabh
commented May 03 '16, 4:13 p.m.
@rpmraj Awesome! Worked perfectly as I needed. Thanks a ton :)
Girish Chandra P
commented Mar 21 '18, 3:28 a.m.
I agree with the Answer from Mohanraj Ragupath Thank you Mohan
showing 5 of 7
show 2 more comments
|
3 other answers
You can do it using the Wiki data type to the attribute. So, you can use the wiki markup language to create links.
https://jazz.net/library/article/1003/ Comments
Tiago Moura
commented Mar 23 '16, 5:34 p.m.
Also, if you use the HTML data type, you can use links too.
Rohit Rishabh
commented Mar 23 '16, 5:55 p.m.
Thanks Tiago,
Tiago Moura
commented Mar 23 '16, 6:22 p.m.
You can use any HTML size, it only defines how much chars it could keep.
Rohit Rishabh
commented Mar 24 '16, 3:26 p.m.
Tiago - I am looking for a solution where the predefined link text appear on a defect form as a part of default attributes and not something that a user need to fill while creating a defect.
|
Ralph Schoon (63.7k●3●36●48)
| answered Mar 24 '16, 3:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please note, if you want to use some attribute customization, you can use the built in single line or multi line HTML attribute customization. See
Lab 4. However, as far as I know, JavaScript attribute customization won't work. I have never been successful with setting HTML from JavaScript attribute customization, as the tags seem to get escaped out and don't work any more. Comments Ralph - I noticed a non attribute-based presentation called "Type Description" below the work item type attribute on defect workitem, which is a Static Rich Text kind and it has a hyper linked text called Type Description under Rich Text section which points to the defect workitem practice element url of the process description of the project area.
|
Hi Rohit, I am trying to achieve the same, a Predefined hyperlink in a workitem. Were you able to make it possible. I tried Static Rich Text which works in the client but not on Web UI. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.