1

I've got a case report which is supposed to allow an end user to change the category of cases to Bug, Feature or Inquiry. I can't get it to work though.

A sample command string looks like this:

api.asp?cmd=edit&ixBug=600&sEvent=Decision&token=[removed]&sCategory=Inquiry

Now, by my reckoning from the API docs, this should update the case #600 with a comment (sEvent) and category (sCategory). The sEvent updates correctly, but I can't for the life of me get the category to update.

I've tried updating Status (both sStatus and ixStatus) and Area (both sArea and ixArea) and they won't take either.

flag

2 Answers

1

I may be stating the obvious but... When you use ixStatus or ixArea, are you setting the values in the url string to numbers or are you setting them to the string value. ie: ixArea=AreaName won't work, you have to do ixArea=3 (or whatever it's number value is)

link|flag
Yeah I'm using the correct input types as you state. E.g. if I use &ixPriority=1 or &sPriority=High, either option works and updates the Priority field correctly. It just doesn't work for ixStatus/sStatus. – Rob King Mar 11 2010 at 3:41
BTW, I'm currently running 7.0.29 – Rob King Mar 11 2010 at 3:43
0

I can't reproduce this bug. Could you please email me with case number FC1919716 so I can help debug this? I don't have your email address from your account here.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.