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.
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
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
Rohit,
Sorry, You have to use "Static Rich Text" instead of "Static Text" in Non-Attribute based presentation. This will solve your hyperlink issue.
@rpmraj Awesome! Worked perfectly as I needed. Thanks a ton :)
I agree with the Answer from Mohanraj Ragupath Thank you Mohan
showing 5 of 7
show 2 more comments
|
3 other answers
![]() 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. |
![]()
Ralph Schoon (61.8k●3●36●43)
| 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.
|
![]()
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 Also, if you use the HTML data type, you can use links too. Thanks Tiago,
You can use any HTML size, it only defines how much chars it could keep.
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.
|