EnglishRussianUkrainianChinese
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Returning a list of Tasks

 
Post new topicReply to topic    TrackStudio Forum Forum Index -> TrackStudio Support
View previous topic :: View next topic  
Author Message
gbrown



Joined: 06 Mar 2008
Posts: 18
Location: Hurd

PostPosted: Tue Mar 25, 2008 10:47 pm    Post subject: Returning a list of Tasks Reply with quote

Is there an API that returns all the Tasks that are available to all users or even better yet is there one that returns tasks bassed on name and not number?
I have looked but have had not luck.
_________________
Grant Brown
Hurd Windows and Doors, Inc.
grant.brown@2behurd.com
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 01 Jan 1970
Posts: 4362
Location: Smolensk, Russia

PostPosted: Wed Mar 26, 2008 12:17 am    Post subject: Re: Returning a list of Tasks Reply with quote

gbrown wrote:
Is there an API that returns all the Tasks that are available to all users or even better yet is there one that returns tasks bassed on name and not number?
I have looked but have had not luck.


Please check CSVImport.findTaskIdByName - it search task by name.
_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
gbrown



Joined: 06 Mar 2008
Posts: 18
Location: Hurd

PostPosted: Wed Mar 26, 2008 6:00 pm    Post subject: Reply with quote

Sorry I am new to this. How do I get access to the CSVImport class. I am using VB.NET and have retrieved all the wsdl apis listed on http://localhost:8888/TrackStudio/services
Thanks
_________________
Grant Brown
Hurd Windows and Doors, Inc.
grant.brown@2behurd.com
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 01 Jan 1970
Posts: 4362
Location: Smolensk, Russia

PostPosted: Wed Mar 26, 2008 7:13 pm    Post subject: Reply with quote

gbrown wrote:
Sorry I am new to this. How do I get access to the CSVImport class. I am using VB.NET and have retrieved all the wsdl apis listed on http://localhost:8888/TrackStudio/services
Thanks


This is not possible using SOAP: you should list all tasks using filter, iterate them and select right by name. If you have a lot of tasks - this can be a slow way, direct DBMS access will be much better:
Code:

SELECT * from gr_task where task_name='name';

_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
gbrown



Joined: 06 Mar 2008
Posts: 18
Location: Hurd

PostPosted: Wed Mar 26, 2008 7:55 pm    Post subject: Reply with quote

Thank you for your help. That worked.
_________________
Grant Brown
Hurd Windows and Doors, Inc.
grant.brown@2behurd.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
TrackStudio Forum Forum Index -> TrackStudio Support All times are GMT + 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Copyright © 2002-2007,   TrackStudio, Ltd.
Contact Us