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

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

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.

0 votes


Accepted answer

Permanent link
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

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
× 6,125

Question asked: Mar 31 '20, 5:08 p.m.

Question was seen: 1,175 times

Last updated: Apr 01 '20, 3:13 a.m.

Confirmation Cancel Confirm