Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



One answer

Permanent link
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/

0 votes

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

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Mar 15 '16, 2:14 a.m.

Question was seen: 1,755 times

Last updated: Mar 15 '16, 5:34 a.m.

Confirmation Cancel Confirm