Iteration default value with script based
Hello,
|
One answer
For Iteration type, you need to return the UUID of an iteration, something like "_X-Njx2FdEeeM_dwgFcOBoQ". I don't know any easy ways to get the UUID. The reportable REST API is one such way.
Comments He is also confusing the category (Filed Against) and the iteration (Planned for).
David MICHEL
commented Sep 15 '17, 9:20 a.m.
Hello,
Thank for your returns.
I wanted to use category (Filed Against) and not the iteration. I can get the UUID for each category in writting the value of "workItem.getValue(WorkItemAttributes.FILED_AGAINST); " in another attribute.
Otherwise I understand that I can't set a default value on category based on a javascript script without developping a new java default provider.
Is it correct ?
Donald Nong
commented Sep 17 '17, 8:57 p.m.
I believe you can set a default value. But if the default value is based on other conditions, such as another attribute with a user-defined value, then it may not work well. It's about the timing of the execution of the script, rather than the technologies being utilized.
|
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.