Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This feature is introduced at AIP v7.0.1.


We are happy to introduce search functions. First functions are to filter assets by referenced assets. More functions will be added later.

...

You can use this function at Basic Search of Asset Navigator for "Asset List" or "Asset List by Asset Type" type of attributes.

SyntaxreferenceAsset("FIELD NAME 1", "VALUE 1", "FIELD NAME 2", "VALUE 2", ..)
Supported fields"Asset List", "Asset List by Asset Type"
DescriptionField name and value pairs are expected. Number of parameters should be an even number.


Examples:

...

Field Types and Field name to queryDescriptionExamples
  • assigne (system field) = asset.assignee
  • owner (system field)  = asset.owner
  • managed by (system field)  = asset.managedBy
  • reserved for (system field) = asset.ReservedFor
  • "Jira Multiple User Select" attribute type =  Exact field name
  • "Jira Multiple Users Select" attribute type =  Exact field name



Query with user name or user key.

Following variables are available:

  • $currentUser: Current logged-in user
  • $reporter: Issue's reporter or current logged-in user when reporter not found. $reporter is the value of issue reporter field at issue edit/create screens (not linked asset-issues reporter.)
  • $assignee: Issue's assignee. Empty evaluated if not found. $assignee is the value of issue assignee field at issue edit/create screens (not linked asset-issues assignee.)
  • $assigneeOrCurrent: Issue's assignee or current logged-in user when assignee not found.  $assignee is the value of issue assignee field at issue edit/create screens (not linked asset-issues assignee.)

Query with user key:

  referenceAsset("asset.assignee", "JIRAUSER18101")

Query with user name:

  referenceAsset("asset.owner", "tyler")

Query "Jira Users" field contains "marla" and city is Ada.

  referenceAsset("Jira Users", "marla", "City", "Ada")



















referenceAssetByType // COMING SOON

referenceAssetByType works just like referenceAsset with one more additional parameter which lets you to filter assets by asset type.

...