Hide Forgot
Description of problem: Attaching a "Red Hat Customer Portal (QA)" or "Red Hat Customer Portal (DEV)" case to partner-bugzilla doesn't actually attach it. An attachment can be made in SFDC (DEV/QA) to a bug in partner-bugzilla, though. I believe this has been seen before. [Although I don't remember the fix.]
I have tried to connect bz-web2-test bz#730698 and partner-bugzilla bz#710672 to SFDC DEV Case# 00458942 with no luck. What's particularly strange is that when I look at the Debug logs in Dev for the bzautomation user, I see activity when it tries to disconnect a Case from a Bug, but I don't see any activity when it tries to connect a Case to a Bug. Any idea why that'd be?
We need to talk about this and get it working correctly. I'll try to be in touch tonight [EDT]
Hi, I think I have this working on bz-web2-test.devel.redhat.com. Can you please let me know if you agree with this. If so, I'll get a new package up on partner-bugzilla, so we can see if it works. -- simon
Have we checked the database entries that correspond to the external tracker types? Perhaps the external trackers are configured differently?
Hi Scott, I just tested the function: my $bug_data = Bugzilla::WebService::Bug->get({ ids => [$bug->id], extra_fields => ['external_bugs','description'], exclude_fields => ['internals'] }); in extensions/ExternalBugs/lib/Type/SFDC_DEV.pm and seems to be returning the external_bugs fine as the following: 'external_bugs' => [ bless( { 'ext_description' => 'None', 'ext_bz_id' => '1', 'ext_last_updated' => '2011-06-20 21:50:01', 'bug_id' => '1', 'ext_bz_bug_id' => 'ORG-123', 'id' => '1', 'ext_status' => 'RESOLVED', 'type' => bless( { 'must_send' => '0', 'can_send' => '0', 'description' => 'test', 'can_get' => '1', 'url' => 'http://www.test.com', 'id' => '1', 'type' => 'JIRA', 'full_url' => 'http://www.test.com/%id%=id' }, 'Bugzilla::Extension::ExternalBugs::Type::JIRA' ) }, 'Bugzilla::Extension::ExternalBugs::Bug' ) ], the above is a test data from my local installation. attached is a full result of Bug.get Do you see anything wrong with the returned result?
Created attachment 505832 [details] result of Bug.get Please check the output of the Bug.get
The fix is to run (in the database) UPDATE external_bugzilla set must_send=1 WHERE description LIKE 'Red Hat Customer Portal (%'; It would be VERY useful to have this as part of the deployment to Dev so that we can avoid this in the future. After running the above, Bugs can be linked to Cases and Bug Comments relay to the Case(s) it is linked to.
Setting ON_DEV.
Simon, There was a misunderstanding between Dan and I. We still need this value changed in partner-bugzilla.redhat.com. This should be do-able via the bugzilla UI by anyone that's a bugzilla admin AFAIK.
This is a test of a public comment.
This is an RH-internal public comment test.