2

1

I'm trying to move closed cases from one project to another but it seems that I can't. I tried this technique but it didn't work for me.

http://support.fogcreek.com/default.asp?fogbugz.4.6694.8

flag

2 Answers

1

If you use the FogBugz XML API, an Administrator's token can modify the ixProject value of a case. Use a URL like:

[Your FogBugz URL]/api.asp?cmd=edit&ixbug=[case number]&ixproject=[new ixproject value]&token=[your login token]

Obviously, you'll need the ixProject value you want first, and there are a bunch of ways to get that (it'll be in the URL when you edit a project; it's also in the database; or you can use the XML API).

A script wouldn't be too difficult where you could give an ixProject value and a list of cases to move.

link|flag
0

If you don't mind not having the history of the case move in the case, you can do this directly in the FogBugz database (take a backup first):

update Bug 
set ixProject = X, ixArea = Y
where ixProject = 4

Where X is the appropriate value from the Project table and Y is the appropriate value from the Area table. You need to choose an area because the new project may have non-global areas.

link|flag

Your Answer

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