Download AccuWork Issue Management Manual
Transcript
Extract the name= and fid= text lines from this data, and store them for future reference. You’ll need to refer to this information often as you work with the AccuWork CLI. Let’s call this extracted data the field-ID definitions. For example, the field-ID definitions for the default schema look like this: name="issueNum" fid="1"> name="transNum" fid="2"> name="status" fid="3"> name="shortDescription" fid="4"> name="state" fid="5"> name="productType" fid="6"> name="type" fid="7"> name="severity" fid="8"> name="priority" fid="9"> name="submittedBy" fid="10"> name="dateSubmitted" fid="11"> name="platform" fid="12"> ... This data shows that field submittedBy has field-ID 10, field productType has field-ID 6, etc. Note: all examples in the remainder of this document will use the field-ID/field-name correspondence in the above example. The contents of these XML elements are the field values for issue record #1. A couple of them, submittedBy and dateSubmitted, have values that might be a bit surprising — numbers instead of strings. We’ll discuss these kinds of values in section Selecting Issue Records with a Query below. Selecting Issue Records with a Query The simplest kind of query selects one or more issue records by comparing the value of one field with a literal value (a constant) — for example, “is the value of the issueNum field equal to 415?” or “does the shortDescription field contain the string ‘busted’?”. AccuWork Issue Management Manual 63