Bugzilla issue/question: custom field support

thumbnail
Dutch Buckholz, geändert vor 12 Jahren.

Bugzilla issue/question: custom field support

Youngling Beiträge: 10 Beitrittsdatum: 18.04.12 Neueste Beiträge
Hi all,

I'm trying to integrate Klaros with a bugzilla system which has a custom field of "case type", which is required for submission. When we attempt to submit an issue via Klaros the field isn't displayed at all. There's no way to choose a value, ergo there's no way to submit the bug from Klaros.

The community edition also isn't open source so we can't make a correction, let alone submit a patch to this issue (at least not without the use of a decompiler and a lot of hope).

Suggestions?

Thanks,
Dutch

Edit to include the presented error from Klaros:

ERROR - 16:50:59 - Unable to save the issue: field must be set: A value must be set for the 'Case Type' field.

Edit to include more data:
Klaros calls config.cgi?ctype=rdf. In the returned xml is

<bz:cf_browser>
<Seq>
<li>---</li>
<li>IE</li>
<li>Firefox</li>
<li>Safari</li>
<li>Chrome</li>
</Seq>
</bz:cf_browser>
<bz:cf_casetype>
<Seq>
<li>Bug</li>
<li>Enhancement</li>
<li>Task</li>
<li>Doc</li>
<li>Prod Incident</li>
<li>---</li>
</Seq>
</bz:cf_casetype>

None of which is displayed in Klaros or returned in the POST:

ice.submit.partial=true&ice.event.target=issues%3AissuesBtnSave&ice.event.captured=issues%3AissuesBtnSave&ice.event.type=onclick&ice.event.alt=false&ice.event.ctrl=false&ice.event.shift=false&ice.event.meta=false&ice.event.x=432&ice.event.y=370&ice.event.left=false&ice.event.right=false&issues%3Aj_id383=TC00001%20-%20Login%0Atest%0A%0A---%0Ahttp%3A%2F%2F172.29.8.39%3A18080%2Fklaros-web%2Fbrowse.jsp%3Ftype%3DtestCase%26uuid%3Dc498ee62-6fc5-4e19-8507-d8b4119e6530&issues%3AissuesMilestone=---&issues%3AissuesVersion=1.0.0.0&issues%3AissuesSingleComponents=3D%20Viewer&issues%3AissuesSeverities=showstopper&issues%3Aj_id348=High&issues%3AissuesOS=All&issues%3AissuesPlatforms=All&issues%3Aj_id338=Test%20login%20functionality&issues%3AissuesIM=e5ea3546-e6e9-4b41-b793-27789e251644&issues%3ApwdIpt=&issues%3AusernameIpt=&javax.faces.RenderKitId=&javax.faces.ViewState=9&icefacesCssUpdates=&issues=&issues%3AissuesBtnSave=Save&ice.session=CC9JHeQUOu_wIMh-YWz2mA&ice.view=9&ice.focus=undefined&rand=0.11734500736929476
thumbnail
Torsten Stolpmann, geändert vor 12 Jahren.

RE: Bugzilla issue/question: custom field support (Antwort)

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Dutch,

your analysis is correct, Klaros-Testmanagement does not support custom issue tracker fields yet. This goes for the other bug-tracker implementations as well.

This has been an outstanding feature request for quite a while (KLAROS-986). I will put this on the road map for 3.7, but this will definitely take some effort to implement.

In the meantime there is no real solution other than declaring this field non-required or boldly hacking the POST request by adding a default value using a semi-intelligent proxy.

Hope this helps,

Torsten
thumbnail
Dutch Buckholz, geändert vor 12 Jahren.

RE: Bugzilla issue/question: custom field support

Youngling Beiträge: 10 Beitrittsdatum: 18.04.12 Neueste Beiträge
Thanks for the response Torsten.

We actually wound up making a hacked copy of the cgi to handle the POST if it's coming from Klaros (like you've suggested). However, it would still be preferable to have Klaros build the submission form from the xml returned by the GET. Never know when a workflow change can require a new hack. We'll be looking forward to 3.7.

Thanks again,
Dutch
thumbnail
Torsten Stolpmann, geändert vor 12 Jahren.

RE: Bugzilla issue/question: custom field support

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Thanks for your patience - so many feature requests, so little time emoticon

Torsten
thumbnail
Torsten Stolpmann, geändert vor 12 Jahren.

RE: Bugzilla issue/question: custom field support

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Just for the record: Klaros 3.7 is now finally out, with support for custom fields in Bugzilla.

Regards,

Torsten
Philippe A Couvignou, geändert vor 12 Jahren.

RE: Bugzilla issue/question: custom field support

Youngling Beitrag: 1 Beitrittsdatum: 30.11.12 Neueste Beiträge
Does Klaros 3.7.1 support Redmine custom fields? If no, is it planned for future releases?

Our Redmine system has required custom fields e.g. BuildNumber which I believe is the reason I'm not able to create a new issue from Klaros.

Thanks.
thumbnail
Torsten Stolpmann, geändert vor 12 Jahren.

RE: Bugzilla issue/question: custom field support

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Yes, starting with 3.7 there is support for Bugzilla, Mylyn, Redmine and Trac custom fields and we have integration tests for Redmine 2.1 to validate this.

If you are having trouble creating issues could you please send us the Klaros and Redmine logfiles? A screendump of the field definitions of your project would be of use as well.

Regards,

Torsten