| View previous topic :: View next topic |
| Author |
Message |
konmal
Joined: 28 Apr 2007 Posts: 23 Location: Dortmund, Germany
|
Posted: Fri Apr 04, 2008 5:41 pm Post subject: How to use CSVImport.MESSAGE_PRIORITY_ID? |
|
|
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 |
|
 |
admin Site Admin

Joined: 01 Jan 1970 Posts: 4363 Location: Smolensk, Russia
|
Posted: Mon Apr 07, 2008 12:43 pm Post subject: Re: How to use CSVImport.MESSAGE_PRIORITY_ID? |
|
|
| 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 |
|
 |
konmal
Joined: 28 Apr 2007 Posts: 23 Location: Dortmund, Germany
|
Posted: Mon Apr 07, 2008 4:52 pm Post subject: Re: How to use CSVImport.MESSAGE_PRIORITY_ID? |
|
|
| 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 |
|
 |
konmal
Joined: 28 Apr 2007 Posts: 23 Location: Dortmund, Germany
|
Posted: Wed Apr 23, 2008 3:30 pm Post subject: Re: How to use CSVImport.MESSAGE_PRIORITY_ID? |
|
|
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 |
|
 |
admin Site Admin

Joined: 01 Jan 1970 Posts: 4363 Location: Smolensk, Russia
|
Posted: Thu Apr 24, 2008 12:51 pm Post subject: Re: How to use CSVImport.MESSAGE_PRIORITY_ID? |
|
|
| 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 |
|
 |
|