Query on getProjectDevelopmentLine() method
Hi All,
I have a basic question. I have a valid IProjectArea reference pa and when I do the following:
public void doSomething(IProjectArea pa) {
IDevelopmentLineHandle developmentLineHandler = pa.getProjectDevelopmentLine();
.....
}
pa.getProjectDevelopmentLine() returns me null. When can this be null?
I am trying to fetch all the iterations of a project area.
Thanks for any help.
Regards,
Arshad
I have a basic question. I have a valid IProjectArea reference pa and when I do the following:
public void doSomething(IProjectArea pa) {
IDevelopmentLineHandle developmentLineHandler = pa.getProjectDevelopmentLine();
.....
}
pa.getProjectDevelopmentLine() returns me null. When can this be null?
I am trying to fetch all the iterations of a project area.
Thanks for any help.
Regards,
Arshad
One answer
As the documentation of the method tells you the project development line can be null, if there is no development line set for the project area.
If you want to look at the iterations in a development line, consider starting here: https://rsjazz.wordpress.com/2012/10/05/handling-iterations-automation-for-the-planned-for-attribute/
If you want to look at the iterations in a development line, consider starting here: https://rsjazz.wordpress.com/2012/10/05/handling-iterations-automation-for-the-planned-for-attribute/