This page is about Assets & Inventory Plugin for Jira DC. Using Cloud? Click here.
Configure Asset Uniqueness
From the app's top menu, click Asset Type Schemes.
Select an Asset Type Scheme, and click Configure.
Select an Asset Type.
Click the cog icon on the left-hand side of the screen. A menu opens.
Click Define Asset Uniqueness.
Click the Create New Asset Uniqueness button. The Define Asset Uniqueness pop-up will appear.
Fill out the details.
Click Save.
Example: Defining Uniqueness for "Computer" Asset Type
In this example, two Asset Uniqueness definitions called IP and Location Uniqueness
and Serial Number Uniqueness
have been created for the Computer asset type.
The asset that we want to create contains the attributes below:
Example 1:
Field | Value |
---|---|
IP v1 | 192.168.1.1 |
IPv6 | 2001:0db8:85a3:0000:0000:8a2e:0370:7334 |
Location | Istanbul |
Serial Number | SN12356 |
In this case, two different queries will be prepared and executed by Asset Uniqueness:
ID | Query |
---|---|
65 | Asset Type = Computer AND IP v1 = 192.168.1.1 AND IPv6 = 2001:0db8:85a3:0000:0000:8a2e:0370:7334 AND Location = Istanbul |
64 | Asset Type = Computer AND Serial Number = SN12356 |
If one asset exists in the Computer type with the Serial Number SN123456, a warning message will be shown:
Example 2:
Field | Value |
---|---|
IP v1 | 192.168.1.1 |
IPv6 | |
Location | Istanbul |
Serial Number |
When Allow Empty Value is checked, the empty attributes will not be considered.
ID | Query |
---|---|
65 | Asset Type = Computer AND IP v1 = 192.168.1.1 AND Location = Istanbul |
64 | This query is not prepared because allow empty value is checked and the attribute value is empty. |