AddExternalItem Priority
Moderator: SourceGear
AddExternalItem Priority
Greetings,
I found, through searching, that PriorityID is always set to Unknown when using AddExternalItem. How come? I can see defaulting it to Unknown if a priority isn't provided but why ignore it/discard it if it is provided? We allow customers to assign priority when submitting bug reports/feedback so we know how important an issue is to him or her. I don't want to have to change to Add Item just to include priority. For now I'll just stuff it into the custom field.
Would you please, please, please (yes, I'm begging here) with sugar on top, start assigning a priority if one is provided through AddExteralItem.
BTW, your KB article needs to be updated because it shows PriorityID as a required field when it isn't.
Thanks!
I found, through searching, that PriorityID is always set to Unknown when using AddExternalItem. How come? I can see defaulting it to Unknown if a priority isn't provided but why ignore it/discard it if it is provided? We allow customers to assign priority when submitting bug reports/feedback so we know how important an issue is to him or her. I don't want to have to change to Add Item just to include priority. For now I'll just stuff it into the custom field.
Would you please, please, please (yes, I'm begging here) with sugar on top, start assigning a priority if one is provided through AddExteralItem.
BTW, your KB article needs to be updated because it shows PriorityID as a required field when it isn't.
Thanks!
The Add External Item form created in Dragnet has no field for Priority, so it appears it defaults to Unknown when submitted. Did you write your own interface?
Is this the KB article you're referring to?
http://support.sourcegear.com/viewtopic.php?t=2568
Is this the KB article you're referring to?
http://support.sourcegear.com/viewtopic.php?t=2568
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Hi Linda,
Yes, we created our own form and then call the WebService Method to add items. I'm sorry I didn't make that point clearer in the first post. We don't use the form.
Regarding the KB article, yes, that's the one. Here's the specific line that should be changed:
mItem.PriorityID = nPriorityID; // required int
This is not a required value.
Yes, we created our own form and then call the WebService Method to add items. I'm sorry I didn't make that point clearer in the first post. We don't use the form.
Regarding the KB article, yes, that's the one. Here's the specific line that should be changed:
mItem.PriorityID = nPriorityID; // required int
This is not a required value.
The Add Extermal Item functionality overwrites some of the the external values for a submitted item:
ReporterID = EXTERNAL_USER_ID
AssigneeID = (NONE)
MilestoneID = (NONE)
StatusID = Open
PriorityID = Unknown
TimeEstimateID = Unknown
HTML = unchecked.
I'm not sure why it was designed that way -- maybe because some users only wanted External users to enter items, but not set priority, etc.
I can log a feature request for External Add to allow a priority setting.
ReporterID = EXTERNAL_USER_ID
AssigneeID = (NONE)
MilestoneID = (NONE)
StatusID = Open
PriorityID = Unknown
TimeEstimateID = Unknown
HTML = unchecked.
I'm not sure why it was designed that way -- maybe because some users only wanted External users to enter items, but not set priority, etc.
I can log a feature request for External Add to allow a priority setting.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager