AddExternalItem Priority

If you are having a problem using Dragnet, post a message here.

Moderator: SourceGear

Locked
ZackJones
Posts: 131
Joined: Mon Mar 08, 2004 6:30 am
Location: Warner Robins, GA

AddExternalItem Priority

Post by ZackJones » Thu Nov 09, 2006 8:12 am

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!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Nov 09, 2006 8:40 pm

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
Linda Bauer
SourceGear
Technical Support Manager

ZackJones
Posts: 131
Joined: Mon Mar 08, 2004 6:30 am
Location: Warner Robins, GA

Post by ZackJones » Fri Nov 10, 2006 6:47 am

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.

ZackJones
Posts: 131
Joined: Mon Mar 08, 2004 6:30 am
Location: Warner Robins, GA

Any Word

Post by ZackJones » Tue Nov 21, 2006 7:57 am

Not to be a pest but it's been several days and there's been no response....

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Nov 21, 2006 9:46 am

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.
Linda Bauer
SourceGear
Technical Support Manager

ZackJones
Posts: 131
Joined: Mon Mar 08, 2004 6:30 am
Location: Warner Robins, GA

Post by ZackJones » Mon Nov 27, 2006 2:32 pm

Hi Linda,

Please log a feature request for this ability.

Thanks!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Nov 27, 2006 2:46 pm

Will do. :)
Linda Bauer
SourceGear
Technical Support Manager

Locked