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

fetch all the stream using java script

Hi,


I have to show all the existing streams of the project area in task work item.
Is there any way to fetch all the stream using java script and show those streams in the work item.
Please provide input and useful links.


Thank you in advance.

0 votes



2 answers

Permanent link

 I am not sure if that is possible via JavaScript. On the other hand you can create a web service to do this and use external data to show in work items.

0 votes


Permanent link

The general problem is, that the question "fetch all the stream using java script" does not make any sense. This is the reason why I start to consider not replying any more to all these JavaScript questions that mostly fall into the same category.

JavaScript is just a language (and one of the most terrible ones if you ask me). You can not do anything with it in the context of Jazz if there is no API. So you really would have to ask about an API.

Parts of the Jazz UI are written in JavaScript with no published API. So you can try to look at what that is doing, if you are skilled enough and use same mechanisms. Most people are not and this approach is not supported by IBM either.

You can use JavaScript and try to use available REST/OSLC APIs from it to access data. I have no clue if you can do what you desire.

The only JavaScript API supported for work item (attribute) customization I am aware of is https://jazz.net/wiki/bin/view/Main/AttributeCustomization and the API is so small that it is not too much to read it and streams are nowhere mentioned. The answer with respect to that is No.

And answer to the follow up question/comment you are about to write is most likely also no. (I have seen this pattern over and over again).

0 votes

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

Question asked: Dec 06 '17, 2:49 a.m.

Question was seen: 1,473 times

Last updated: Dec 06 '17, 9:22 a.m.

Confirmation Cancel Confirm