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/
Comments
Hi Ralph,
You are right the documentation says so. But I did not know when would it return null and what changes I had to make in web interface to get some value for it.
I tried editing its properties and got the solution there. Exploring things as I am new to this.
Thanks for your response :)