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).
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 ?
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.
|