Modifying attribute and its content with javascript
Canberk Akduygu (992●3●73●71)
| asked Nov 11 '11, 5:22 a.m.
edited Mar 21 '13, 11:39 a.m. by Ralph Schoon (63.3k●3●36●46)
Hi,
I'd like to have one of my attribute of a workitem to get its content from a data source(could be a text file). This text file will have some changes. People will add the value they would like to see in the combo attribute to this text file and my script will parse this text to get the value. Is it possible? I can return a single line text from a javascript but not a list to a generic combo. I also checked https://jazz.net/wiki/bin/view/Main/AttributeCustomization#ScriptBasedNotes but couldn't find what I am looking for. |
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| answered Mar 21 '13, 11:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Canberk, you can now use the HTTP Filtered Value Provider See https://jazz.net/library/article/1093 lab 4.
The File needs to be published with a HTTP Server. The file format should be XML. Canberk Akduygu selected this answer as the correct answer
|
One other answer
Hello Ralph,
I have been using this functionality since the day it came out. It's a great feature as far as I can tell. Hope to see this feature has more functionality like DB Link so we can extract data from a DB without having a web services to publish. Comments
Ralph Schoon
commented Mar 22 '13, 3:36 a.m.
| edited Mar 22 '13, 3:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
|
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.