Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Attribute Customization : How to create a text name display for a dynamic hyperlink

Hello All,

I have a scenario wherein, I need to create a text name display for a dynamic hyperlink.
E.g. : Instead of populating the entire hyperlink, i need to use the text "Click Here".

If this hyperlink is hardcoded without having the current workitemID then i can easily use the "Default Values Attribute" Customization and get my work done as this gets populated without any issues.
like this: {{Hardcoded hyperlink | text name to display}}

But now in my case i need this dynamic appending of the current workitem in the end and then populate this formed hyperlink to the attribute value.
So I have used :
Attribute Type : Medium HTML
Attribute Customization : Calculated Values (This script gets the workitem using WorkItemAttributes.ID and I append to the hyperlink end and return to the attribute)

But the entire hyperlink is displayed, which is not so informative to the user, instead it should display "Click Here".

Are there any possibilities of doing this ?
I already tried with Default Values "Script Based Default Provider", but on creation of new workitem the id is -1 and post creation with a valid id, hyperlink is not getting updated.

Could you please suggest me on this.
Thanks in advance.

0 votes


Be the first one to answer this question!

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Mar 18 '19, 3:56 a.m.

Question was seen: 847 times

Last updated: Mar 18 '19, 3:56 a.m.

Confirmation Cancel Confirm