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

AJAX call to populate enum in work item template

 Is it possible to perform an AJAX call to fill an enumerable in a work item in RTC?

e.g. Take data from a DB/RESTful call to another application and fill the results from any data interchange format (JSON, XML) into the enumerable drop down list.

I'm happy to follow a guide, the only thing I could find was a bit of javascript that allowed you to add the field up...


0 votes



2 answers

Permanent link
Far as I know you cannot create the enum list on the fly. you can select an entry, or fill in a field.

As I understand it, the reason is that this is  change and configuration mgmt system, with auditing.
so you could never delete any of the data, because it would change history.  an enum entry that is recorded in a workitem but then disappears sometime later with the workitem still coded to use it is a data integrity problem.

0 votes

Comments

 OK, thanks for that.


Can I pull data from a service, store it in RTC (for change history) and then update it daily? Or on a different frequency..


Permanent link
there is no documented way to update enum definitions via api.

one might be able to manipulate the process config XML (I have not done this via an api, I have read it but not changed it). I know that this has been asked on the forums a LOT, but have not seen a reliable solution

0 votes

Comments

 Thanks for that, it gives me a good starting point. I can't like your answers because I don't have enough reputation.

Your answer

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,941

Question asked: Mar 31 '15, 10:32 a.m.

Question was seen: 3,049 times

Last updated: Mar 31 '15, 12:36 p.m.

Confirmation Cancel Confirm