Click the Setup Columns button to bring up a dialog box in which you select a set of issue fields, to be displayed as table columns. See
Set Up Columns on page 321. You can also specify the order of the fields.
This section contains a set of condition/query pairs, one of which will be executed at Promote-time. If the first condition is satisfied, the first query will be executed; otherwise the second condition will be evaluated, and if it's satisfied, the second query will be executed; and so on. No error occurs if no condition is satisfied; the
Promote command proceeds without triggering any change-package-level activity.
Each clause of a condition performs a test on the Promote destination stream (indicated by the keyword
PROMOTE_DEST_STREAM). For example, this condition is satisfied if the user is promoting to either of the streams
maint or
forms:
Corresponding to each Promote-destination condition is any AccuWork query, to selects a set of issue records. For the mechanics of composing the query, see
Working in the Query Editor on page 317.
To specify the format of the table displayed by the Promote command when it invokes the change-package-level integration between AccuRev and AccuWork, click the
Setup Columns button to bring up a dialog box. Use this dialog box to select fields to appear as columns, the order of the columns (fields), and the sort order of the rows (records). After closing this dialog box, you can adjust the column widths and rearrange the columns.
AccuRev provides a change package feature that integrates AccuRev's configuration management functionality with AccuWork’s issue management functionality.
When a Promote command is executed a user's workspace (but not in a higher-level dynamic stream), the change-package-level integration records all the promoted versions on the
Changes subtab of a user-specified AccuWork issue record.
The Change Package Triggers section is structured as a set of condition/query pairs. One of the queries will be selected for execution at Promote-time. If the first condition is satisfied, the first query will be executed; otherwise the second condition will be evaluated, and if it's satisfied, the second query will be executed; and so on.
Each clause of a condition performs a test on the Promote destination stream. For example, this condition is satisfied if the user is promoting to either of the streams
maint or
forms:
The condition must test the destination stream (PROMOTE_DEST_STREAM) of a
Promote command. The query corresponding to each condition can be any AccuWork query, which selects a set of issue records.
In addition, the Issue Owner Field drop-down list displayed at the bottom of the Change Packages tab can be set to any AccuWork field that contains user/group data. The field specified here displays on the
Send to Issue dialog.
Promoting to Issues Other than Those Shown -- The dialog has a New Issue button, which enables the user to create a new issue record "on the fly". If the user hovers over the icon to the right of the New Issue button, it will display a tooltip containing the Change Package Triggers query. This makes it easier to create an issue that will be selected by the query, and thus available to promote against.
Typing an Identifier when using a Third-Party ITS -- If a field other than the default issueNum is specified as the 3pty ITS Key (on the Schema Editor’s Schema subtab), specifying issue records by typing their identifiers can lead to errors: if multiple issue records have the same identifier, AccuRev automatically adds the promoted version(s) to just one of those records — perhaps not the one you intended.
Next go to the Layout tab and position this field in the Issue form (or confirm that it is already there). To position it, select the entry in the Fields column, and then click where you want it to appear in the left side of the tab (for example, in the Header section).

After identifying a key field, or defining a new one, modify the fid value of the
lookupField entry to reflect the new key field (the
lookupField entry is typically found near the top of schema.xml:
For example, if you were modifying this entry to use the jiraKey field shown above, you would change the
fid value to “3”.
Here are some examples of using the promote command with the -3 switch:
cpkdepend also returns third-party key information in non-XML format. If you specify
-3 to query the dependency, then the values in non-fx will be displayed using third-party values. If specify standard issue numbers, they will be displayed in standard format. If you specify
-3 without
-fx and an issue does not have a third-party value, an asterick ('*') appears before the issue number.
In the examples below, the third-party values are displayed in bold. "
thirdPartyName" is the field name (not the label name) defined in the Schema Editor.
Once you have enabled the use of third-party issue tracking system (ITS) keys in the AccuWork schema, the Select Issue (Change Package) dialog and the
Look Up Issue dialog display additional controls that let you indicate whether you want to use AccuWork issue numbers or third-party ITS keys when specifying issues.
For example, when you bring up the Look Up Issue dialog, if third-party ITS keys are enabled AccuRev displays radio buttons that let you indicate that you want AccuRev to use the third-party key rather than the AccuWork issue number when looking up the issue.
