It's all about the answers!

Ask a question

Query on getProjectDevelopmentLine() method


Arshad Adavani (231213) | asked Mar 15 '16, 2:14 a.m.
edited Mar 15 '16, 3:55 a.m. by Ralph Schoon (56.6k23642)
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

One answer



permanent link
Ralph Schoon (56.6k23642) | answered Mar 15 '16, 3:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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/

Comments
Arshad Adavani commented Mar 15 '16, 5:34 a.m.

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 :)

Your answer


Register or to post your answer.