Getting started
Step 1. Installation
Confluence
Click on Find new apps
Search for Macro for Assets
Click Add
Jira
Click on Explore more apps
Search for Dashboard Gadget for Assets
Click Add
Step 2. Authorize the app
Both Macro for Assets and Dashboard Gadget for Assets are build on Atlassian Forge. This means that they are running on Atlassians servers and we as the vendor has no access to the data. Backups are part of the Atlassians overall backup strategy
Authorization process allow the app to read / store data in your instance, this needs do be done in order to use the app.
This is done by simply pressing Allow access
Why does the app need to read data from the following domains?
Data
For reading Jira asset data, the app needs access to subdomains of Atlassian.com and Altassian.net
*.atlassian.net*.atlassian.com
Step 3. Setup a connection
Navigate to the Apps menu from the Cog.
For Jira
For Confluence
Enter a name of the connection, this will be displayed as a drop-down when selecting from where to load Assets data.
Enter the Jira site that has Assets installed, use the URL ending with atlassian.net
Enter the email of the user that will be used to access the Assets data
Enter the API token for the user (or service account) that will be used to read Assets data in Jira. The account used needs to have the Jira Service Management app with agent license.
Optional specify the group that can use this connection.
This is useful if you want to secure some data for a set of persons. In that case you can use multiple connections with different group setups.
Empty field means all users can see the data in the Macro / GadgetClick Add
You may need to refresh the page if the row does not appear directly after clicking add.Expected result a table with the connection in it
The API token generated from the specified user account or service account with the scopes below
read:servicedesk-request (Classic Scope)
read:cmdb-attribute:jira (Granular Scope)
read:cmdb-icon:jira (Granular Scope)
read:cmdb-object:jira (Granular Scope)
read:cmdb-schema:jira (Granular Scope)
read:cmdb-type:jira (Granular Scope)
https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
Step 4. Add a Dashboard Gadget or Confluence Macro
Confluence
For Confluence, click add Macro and search for Macro for Assets
Jira
For Jira dashboard, click edit on the dashboard and search for Dashboard Gadget for Assets.
Step 4. Configure what to see
To configure the view;
Select the connection from the drop-down list
Enter the Asset Query Language (AQL) to what objects to display
To configure the table click on the settings symbol and select what attributes to show.
Object Schema
Object schema is the schema from which the objects in Assets lives in.
Attributes
Attributes is displayed when selecting an object schema, these are the attributes associated with the object that you want to show in the table.
Display as Horizontal
You have the ability to display the asset as a horizontal table.
Which would look like the picture below.
Referenced assets can be viewed by clicking on the icon in the table
Display as Vertical
You have the ability to display the asset as a vertical table.
Which would look like the picture below.
Referenced assets can be viewed by clicking on the icon in the table
Display as Chart (Pie, Bar)
You have the ability to display the asset as a chart view.
Which would look like the picture below.
Display as Card
You have the ability to display the asset as a card view.
Which would look like the picture below.
Asset function fields
We support currentUser() function to filter on the logged in user.
Example
objectType = Person and "Jira User" = currentUser()
Display related object attributes
Click on the Asset Icon to open a modal with the related attributes