It's all about the answers!

Ask a question

How to set a timeline as the project timeline?


0
1
m sawires (1463268) | asked Mar 12 '10, 2:32 p.m.
Hello,
How can I set a timeline as the project timeline programmatically?
Thanks in advance.

3 answers



permanent link
m sawires (1463268) | answered Mar 12 '10, 4:02 p.m.
I've found a class DevelopmentLineDTOImpl that has the function isProjectTimeline() but this is an internal class belonging to the package: com.ibm.team.process.internal.common.rest.impl.
How can I set the ProjectTimeline()? Is there a public API?

Thanks

permanent link
Martha (Ruby) Andrews (3.0k44351) | answered Mar 12 '10, 7:35 p.m.
JAZZ DEVELOPER
Try IProjectArea.setProjectDevelopmentLine(IDevelopmentLineHandle) .

Development lines are exposed in the UI (and parts of our internal code base) as time lines.

Martha

Hello,
How can I set a timeline as the project timeline programmatically?
Thanks in advance.

permanent link
Jared Burns (4.5k29) | answered Mar 17 '10, 12:55 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
On Sat, 13 Mar 2010 21:37:57 +0000, marly wrote:

Hello,
No actually IProjectArea.setProjectDevelopmentLine() is not the same as
setProjectTimeline() which is an internal API. Only one DevelopmentLine
at a time can be Project TimeLine.

The API Martha gave is the correct method to set the project timeline.

--
Jared Burns
Jazz Process Team

Your answer


Register or 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.