[followup] Finalize resolveStoreAssetReference to the working AQL variant #2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Blocked on #1. Once the probe reports a winning variant, lock
resolveStoreAssetReferenceinsrc/services/jiraService.jsto that exact query shape (attribute name vsName, padded vs unpadded,attribute[<id>]form) and remove the fallback loop.Acceptance:
probeAssetsForStorestays as-is for diagnosticsClosing without code change.
Empirical verification from an admin account (see #1 update) proves that the AQL variant already in
resolveStoreAssetReferenceis the correct one:That's exactly the query
resolveStoreAssetReferencegenerates today forstoreNumber=514(inservices/jira/assets.js, first entry of thequeriesarray). The 5-digit zero-padded normalization is also correct — store 514's label is stored as"00514".So there's no finalization to do. The moment #1's permission block clears, this code path just works. Confirmed schema id, object type id, attribute name, and value format all match what we already have configured.
Reopening only makes sense if #1's fix reveals we were wrong about one of those. In that case this can be reopened with the corrected variant.
See #1 for the full evidence and the admin action still pending.