TrackStudio v4.0.5 API document (English)

Discuss problems installing or using TrackStudio.

TrackStudio v4.0.5 API document (English)

Postby famg » Thu Sep 09, 2010 1:01 pm

Can anyone provide me a link to developer documentation for the SOAP API in English please?

In particular the UserService.updateUser(...) method has changed and we no longer know exactly what parameters we need to be passing in. Annoyingly the UserBean object we had been using to pass in parameters previously in v3.5 (via its properties) no longer has some properties it used to have! Whats going on?

Thanks
famg
 
Posts: 3
Joined: Mon Jul 13, 2009 2:08 pm

Re: TrackStudio v4.0.5 API document (English)

Postby Petr » Thu Sep 09, 2010 5:00 pm

We have no JavaDoc in english version.
/**
* Method edit user
*
* @param sessionId user session
* @param userId ID user for edit
* @param login login user
* @param name name user
* @param tel telephone number user
* @param email E-mail user
* @param prstatusId ID prstatatus user
* @param managerId ID manager user
* @param timezone Timezone
* @param locale locale
* @param company company
* @param emailTypeId Type email
* @param taskId ID task
* @param expire date expire user
* @param preferences preferences
* @param active active

*/

public void updateUser(String sessionId, String userId, String login, String name, String tel, String email,
String prstatusId,String managerId, String timezone, String locale, String company,
String emailTypeId, String taskId, long expire, String preferences, boolean active) throws Exception {
TS Support
email: parsentev@yandex.ru
Petr
 
Posts: 1122
Joined: Wed Aug 12, 2009 4:38 pm

Re: TrackStudio v4.0.5 API document (English)

Postby admin » Mon Sep 13, 2010 12:40 pm

Petr wrote:We have no JavaDoc in english version.


Yes, actually current JavaDoc russian comments is just translation parameter/method name to russian, so don't worry about it.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7304
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: TrackStudio v4.0.5 API document (English)

Postby fcai » Tue Sep 14, 2010 8:18 pm

Congradulations!

I see a quite bit of new features were added in this new version.
i.e. new report module BIRT replaced Jasper engine which allow more columns in report.
The GUI looks more intuitive and more user friendly.

Great job and keep up this good work!

I have a question about some changes in this version.

This version has removed the control of visibility of task and UDFs based on their state.

Unfortunately our part of workflow is build on this feature and removing this will break what we've done before.
This could be a real problem for us.

Do you have any work-aronds for this?


many thanks,

fred
fcai
 
Posts: 66
Joined: Wed Jun 24, 2009 10:57 pm
Location: USA

Re: TrackStudio v4.0.5 API document (English)

Postby admin » Tue Sep 14, 2010 8:31 pm

fcai wrote:Unfortunately our part of workflow is build on this feature and removing this will break what we've done before.
This could be a real problem for us.

Do you have any work-aronds for this?


Yes, this feature has been removed, because configuration in 3.5 was too cumbersome and it's difficult to fix it.

Please explain your problem in detail ? What is the business reason ? Do you like to disable edition or UDF view too ?
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7304
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: TrackStudio v4.0.5 API document (English)

Postby fcai » Tue Sep 14, 2010 8:44 pm

admin wrote:
fcai wrote:Unfortunately our part of workflow is build on this feature and removing this will break what we've done before.
This could be a real problem for us.

Do you have any work-aronds for this?


Yes, this feature has been removed, because configuration in 3.5 was too cumbersome and it's difficult to fix it.

Please explain your problem in detail ? What is the business reason ? Do you like to disable edition or UDF view too ?



i.e. some UDF, we only want it be visible to certain user group at certain state.
fcai
 
Posts: 66
Joined: Wed Jun 24, 2009 10:57 pm
Location: USA

Re: TrackStudio v4.0.5 API document (English)

Postby admin » Tue Sep 14, 2010 9:05 pm

fcai wrote:i.e. some UDF, we only want it be visible to certain user group at certain state.


Yes, I understand, but why ? Can you describe your use case ?
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7304
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: TrackStudio v4.0.5 API document (English)

Postby fcai » Tue Sep 14, 2010 9:11 pm

admin wrote:
fcai wrote:i.e. some UDF, we only want it be visible to certain user group at certain state.


Yes, I understand, but why ? Can you describe your use case ?



OK, we had an asset purchase process workflow which go through multiple state(approval) and approved by by differenty gorup of people.

i.e. let us say we had a UDF named "Work Order Number" which only need to be shown at final accounting review stage to our accounting.
We do not want to other group of user to view/access this field before this state.
fcai
 
Posts: 66
Joined: Wed Jun 24, 2009 10:57 pm
Location: USA

Re: TrackStudio v4.0.5 API document (English)

Postby admin » Tue Sep 14, 2010 10:15 pm

fcai wrote:OK, we had an asset purchase process workflow which go through multiple state(approval) and approved by by differenty gorup of people.

i.e. let us say we had a UDF named "Work Order Number" which only need to be shown at final accounting review stage to our accounting.
We do not want to other group of user to view/access this field before this state.


As a workaround, you can try to allow view this UDF for people with "accounting" role only. So, try to control visibility by allowed user role, not task state.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7304
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia


Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 2 guests