It's all about the answers!

Ask a question

How to exclude mandatory field from CQ in defect/UC template


Tushar Parate (3692) | asked Jun 25 '09, 8:54 a.m.
Hi Team,

We are doing RTC-CQ integration. We have few mandatory fields in CQ form which i want to exclude in the rule for sync.

Means: I do not want to add fields (which are mandatory in CQ) to the RTC defect/Use case template.

How to do this?

5 answers



permanent link
Richard Piazza (381) | answered Jun 25 '09, 9:46 a.m.
JAZZ DEVELOPER
Hi,

Perhaps we don't fully understand your question, but if the fields are mandatory for the CQ record, there is nothing in the CQ connector to override this.

Some alternatives:

- add hook code to provide the mandatory fields
- change the schema to not make those fields mandatory
- add custom attributes to the work item, give them some defaults, and include them in the sync rule.

Rich
Jazz CQ Connector team

permanent link
John Vasta (2.6k15) | answered Jun 25 '09, 9:48 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Are you asking whether the synchronization process can somehow violate the constraints of your CQ schema design by not providing values for required fields? If so, the answer is no; the schema constraints apply, no matter how a record is being created. It may be possible to define default values in your sync rules for required fields, depending upon the type of the field.

Hi Team,

We are doing RTC-CQ integration. We have few mandatory fields in CQ form which i want to exclude in the rule for sync.

Means: I do not want to add fields (which are mandatory in CQ) to the RTC defect/Use case template.

How to do this?

permanent link
Perry Smith (126172) | answered Jun 25 '09, 3:32 p.m.
Hi,

Perhaps we don't fully understand your question, but if the fields are mandatory for the CQ record, there is nothing in the CQ connector to override this.

Some alternatives:

- add hook code to provide the mandatory fields
- change the schema to not make those fields mandatory
- add custom attributes to the work item, give them some defaults, and include them in the sync rule.

Rich
Jazz CQ Connector team


Rich,

I'm trying to make sure I'm understanding this discussion correctly. Are you saying that RQM has no mechanism to facilitate the enforcement of required field specs in ClearQuest? Our CQ schema has fields that are required during certain actions and optional during others. At the moment, the only records I can't sync are those with required field mismatches. I'm looking for a way to resolve the incongruency other than making the CQ fields optional.

permanent link
Richard Piazza (381) | answered Jun 25 '09, 4:41 p.m.
JAZZ DEVELOPER
The CQ Connector is really nothing more than another CQ client, when it comes to creating and updating records. If there are mandatory fields then they must be provided via the sync rules.

Please consult the following url, steps 5, 6 and 7, for advice on how to
handle this situation:

http://publib.boulder.ibm.com/infocenter/rtc/v1r0m0/index.jsp?topic=/com.ibm.team.connector.cq.doc/topics/t_planning_synch_rules.html

(The 2.0 document is found using the same url, except use v2, but
not much has changed since 1.0).

Rich
Jazz CQ Connector team

permanent link
Geoffrey Clemm (30.1k33035) | answered Jun 25 '09, 11:22 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
BTW, if anyone can figure out how one would automate the satisfaction of
CQ required field constraints, when the CQ schema can define arbitrary
hook code to define those constraints, please let us know (:-).

Cheers,
Geoff

perrysmith wrote:
rpiazzawrote:
Hi,
Perhaps we don't fully understand your question, but if the fields
are mandatory for the CQ record, there is nothing in the CQ connector
to override this.
Some alternatives:

- add hook code to provide the mandatory fields
- change the schema to not make those fields mandatory
- add custom attributes to the work item, give them some defaults,
and include them in the sync rule.
Rich
Jazz CQ Connector team

Rich,

I'm trying to make sure I'm understanding this discussion correctly.
Are you saying that RQM has no mechanism to facilitate the
enforcement of required field specs in ClearQuest? Our CQ schema has
fields that are required during certain actions and optional during
others. At the moment, the only records I can't sync are those with
required field mismatches. I'm looking for a way to resolve the
incongruency other than making the CQ fields optional.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.