How do I replace a text box with a drop down populate by web service in fogbugz using greasemonkey script?

Go To StackoverFlow.com

1

I want to replace the 'client' field text box in fogbugz when you edit a case to be a drop down instead populated from a separate web service that will keep the client options up to date in our fogbugz. Is this possible? Will the choice they select in the drop down be able to save the same way it would if they had typed it into the text box?

2009-06-16 19:56
by BigOmega


1

If you are on Windows, email us at http://contact.fogcreek.com and get on the FogBugz 7 beta which has the ability to do this with plugins (instead of GM) or even, just with a custom field.

2009-06-27 18:25
by Michael Pryor
@Michael Pryor: This answer is not spam IMHO, as it was a question about this product, and since the version you highlight addresses the question. However, it would be even less spam if you were to edit the answer to include an example of how to do what he wants using the beta - John Saunders 2009-06-27 18:28
Huh, what are you talking about - Michael Pryor 2009-06-29 01:04


0

An off-the-cuff answer:

Yes. For a first pass, you can implement it by creating the drop-down list on the side, populating it with a GM_xmlHttpRequest, and adding a "onchange" action listener to the drop-down list, which will populate the textfield with the relevant information from the drop-down. This ensures that fogbugz sees exactly what it wants, in exactly the way it wants to see it.

2009-06-17 00:26
by PotatoEngineer
Ads