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

How to use CSVImport.MESSAGE_PRIORITY_ID?

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



Joined: 28 Apr 2007
Posts: 23
Location: Dortmund, Germany

PostPosted: Fri Apr 04, 2008 5:41 pm    Post subject: How to use CSVImport.MESSAGE_PRIORITY_ID? Reply with quote

I'm would like to change the priority of some tasks by CSV import

The documentation is incomplete at this point as it doesn't mention CSVImport.MESSAGE_PRIORITY_ID available.
Is this a right way to use it?

objMap.put(CSVImport.MESSAGE_PRIORITY_ID, CSVImport.findPriorityIdByName("High",
"Task category name"));

It seems to be not working - messages are created, but the priority is the old one.

Regards
Konstantin
Back to top
View user's profile Send private message
admin
Site Admin


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

PostPosted: Mon Apr 07, 2008 12:43 pm    Post subject: Re: How to use CSVImport.MESSAGE_PRIORITY_ID? Reply with quote

konmal wrote:
I'm would like to change the priority of some tasks by CSV import

The documentation is incomplete at this point as it doesn't mention CSVImport.MESSAGE_PRIORITY_ID available.
Is this a right way to use it?

objMap.put(CSVImport.MESSAGE_PRIORITY_ID, CSVImport.findPriorityIdByName("High",
"Task category name"));

It seems to be not working - messages are created, but the priority is the old one.

Regards
Konstantin


MESSAGE_PRIORITY_ID is a priority ID in message history, use TASK_PRIORITY_ID instead.
_________________
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
konmal



Joined: 28 Apr 2007
Posts: 23
Location: Dortmund, Germany

PostPosted: Mon Apr 07, 2008 4:52 pm    Post subject: Re: How to use CSVImport.MESSAGE_PRIORITY_ID? Reply with quote

admin wrote:
konmal wrote:
I'm would like to change the priority of some tasks by CSV import

The documentation is incomplete at this point as it doesn't mention CSVImport.MESSAGE_PRIORITY_ID available.
Is this a right way to use it?

objMap.put(CSVImport.MESSAGE_PRIORITY_ID, CSVImport.findPriorityIdByName("High",
"Task category name"));

It seems to be not working - messages are created, but the priority is the old one.

Regards
Konstantin


MESSAGE_PRIORITY_ID is a priority ID in message history, use TASK_PRIORITY_ID instead.


I thought that TASK_PRIORITY_ID is a key to be used when creating tasks, not messages through CSV import?
And BTW, what is a priority of messages in the message history?
Never seen this in the docs.
Back to top
View user's profile Send private message
konmal



Joined: 28 Apr 2007
Posts: 23
Location: Dortmund, Germany

PostPosted: Wed Apr 23, 2008 3:30 pm    Post subject: Re: How to use CSVImport.MESSAGE_PRIORITY_ID? Reply with quote

Any news on this topic?

konmal wrote:
admin wrote:
konmal wrote:
I'm would like to change the priority of some tasks by CSV import

The documentation is incomplete at this point as it doesn't mention CSVImport.MESSAGE_PRIORITY_ID available.
Is this a right way to use it?

objMap.put(CSVImport.MESSAGE_PRIORITY_ID, CSVImport.findPriorityIdByName("High",
"Task category name"));

It seems to be not working - messages are created, but the priority is the old one.

Regards
Konstantin


MESSAGE_PRIORITY_ID is a priority ID in message history, use TASK_PRIORITY_ID instead.


I thought that TASK_PRIORITY_ID is a key to be used when creating tasks, not messages through CSV import?
And BTW, what is a priority of messages in the message history?
Never seen this in the docs.
Back to top
View user's profile Send private message
admin
Site Admin


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

PostPosted: Thu Apr 24, 2008 12:51 pm    Post subject: Re: How to use CSVImport.MESSAGE_PRIORITY_ID? Reply with quote

konmal wrote:

I thought that TASK_PRIORITY_ID is a key to be used when creating tasks, not messages through CSV import?


Yes, it seems.

konmal wrote:

And BTW, what is a priority of messages in the message history?
Never seen this in the docs.


Message has no own priority, in this field you can track task priority changes using messages. If you like just to setup task priority - use TASK_PRIORITY_ID.
_________________
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
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