It's all about the answers!

Ask a question

Can I constrain the "Planned for" field depending on work item type.


Alexander Reyes (193) | asked Mar 31 '20, 5:08 p.m.
I desire to constrain what iteration in my timeline can be selected depending on the work item type being created.  For example, an Epic type work item should only be allowed to be planned for a Release (Release 1,2 etc.,) and Story type work items will be planned for sprints (sub-iterations of Releases).

Is this possible and if so, how would I configure this? I imagine it would be done using the "Attribute Customization" option in the eclipse client. Thanks in advance.

Accepted answer


permanent link
Ralph Schoon (58.2k23642) | answered Apr 01 '20, 3:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I am aware, there is no way to configure this in RTC/EWM. It would be technically possible to implement such a feature using the RTC SDK Extensibility capabilities. To learn about this, start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ . I think the following approaches could work:
  1. A Work Item Save Advisor could be created, that would allow to prevent saving the work item based on the type and the selected iteration. See https://jazz.net/library/article/1000
  2. A Java based validator extension could work. See https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/  
The next question will be, "Can I use the JavaScript attribute customization for this?

As far as I can tell, the published and supported JavaScript API does not allow to do that. There might be possibilities to do that using unpublished and unsupported APIs in the Web UI, but it is very likely not doable in the Eclipse client. See https://rsjazz.wordpress.com/2016/07/15/rtc-process-customization-what-you-can-and-cannot-do/ for some general considerations.
Alexander Reyes selected this answer as the correct answer

Your answer


Register or to post your answer.