It's all about the answers!

Ask a question

Retrieves the value of an iteration type, in particular the attribute scheduled to retrieve or retrieve the value via js


Emiliano Iannetti (111) | asked Apr 15 '20, 10:35 a.m.

Hi everyone, we need to recover the value of the plannedFor funnel, this is a custom attribute of the WI, it is not of our creation and it is an iteration type. Now I have tried to see the posts present far and wide but everyone talks about the bees on the client side, we need to recover it on the server side and I read that Ralph replied that there should be one for the server side, but I just can't find it. We also hypothesized to use the recovery of the value from the Js, to then put it on a string attribute created by us, but here we have another problem using the syntax: WorkItemAttributes.PLANNED_FOR; always returns the target value which is the id of the attribute present from the web while the original id has value: com.ibm.team.workitem.attribute.target
This is because we need to have two wi which are not necessarily parent and child between them and as the only "coupling" point we have the same selection of the actbute, do you have any solution to offer us?
Thank you.

One answer



permanent link
Ralph Schoon (59.0k23642) | answered Apr 15 '20, 11:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Apr 15 '20, 11:29 a.m.
Sorry, the question here has no more structure than the other ones. I do not have the time to contemplate about this and then consider what you are asking. (I have read it several times and can still not make sense of it).

In general your question (from the tags) could talk about RTC Extensibility. Read https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ to understand what that is.

Java Scriopt (if JS means Java Script) can be part of above extensibility e.g. in the Web UI and would be used together with Java Extensibility as above. This is rare.

Or JavaScript could relate to attribute customization.The documentation for attribute customization (if this is what this is about) is here :  https://jazz.net/library/article/1360 - Follow the additional links e.g. to the workshop and https://jazz.net/wiki/bin/view/Main/AttributeCustomization to learn more, especially about JavaScript in this context. WorkItemAttributes.PLANNED_FOR hints into that direction.

Also consider https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/ if this is about JavaScript attribute customization.

Maybe you can refine your question so others can answer.
Good luck.

Comments
Ralph Schoon commented Apr 15 '20, 11:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

PS, your OTHER question was about additional save parameters that are ONLY available to a user in the Work Item JAVA Server and JAVA Client API for RTC Extensibility.

There is NO overlap with attribute customization and Java Script.

The planned for attribute value is easy enough to get, if it would be clear,
  • Why
  • What to d with it?
  • What the purpose of all this is?

Your answer


Register or to post your answer.