0

I have a plugin that is going to use a specific category, with custom statuses. However, I want incoming mail messages to be placed into this category, but there is only an option to specify the project. Is there any way to change a category automatically once a case is created, via the BugCommitAfter method? Directly changing the ixCategory field does not work. Thanks!

flag

1 Answer

0

To change the category as the case is being committed, you need to set it in BugCommitBefore. All of the plugins' BugCommitBefore methods are called before FogBugz actually saves the CBug object to the database. If you set the field in BugCommitAfter, it is too late as the case has already been committed.

link|flag

Your Answer

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