Query Prelim items from Agile DB

is it possible to query perlim items from Agile DB, it seems to me that if the item is in prelim (it does not have any revision) it does not come up in queries. is this correct? if so, is it by design?

thanks,
Abdellah

Add Comment
2 Answer(s)

Yes indeed you can.  Just use PRELIMINARY in your search for the items.  In order to have each user account for items and changes they create and NOT release I have created dashboards for the $USER so they have a personal record of their items.

Agile Angel Answered on April 15, 2016.

thanks Laurence.
I am looking more into how and if I can query prelim items directly from the agile database tables (i.e items table, Rev table etc.)

on April 15, 2016.
Add Comment

Yes, you can, but I would really REALLY caution against modifying anything directly in the database.
 Every item has the introductory rev record, so you cannot look for where the item has no records in the REV table. Instead look for items where REV.CHANGE > 0 :
select id, item_number from item i where not exists (select null from rev where item = i.id and change > 0);

 If you really want to look at any item that only has the Introductory Rev *or* is only assigned the “Preliminary” status, then you need to get a bit deeper into what ID is used by any lifecycle phase value that you take to mean “Preliminary” (the default value is ID = 976).

Agile Angel Answered on April 15, 2016.

thank you so much Kevin. this is very helpful.

on April 15, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.