๐๏ธAttribute
Last updated
Last updated
Attributes are fields that let you add important information to your objectsโit can really be anything that you need. You specify attributes for an object type, and then they're passed on to all child objects, requiring users to fill them in. An object type comes with a default set of attributes.
You can select the attribute type, this setting determines how the attribute value should be managed (and if its allowed).
POST /jsm/assets/workspace/{workspaceId}/v1/objecttypeattribute/{objectTypeId}
The Create method creates a new attribute on the given object type.
PUT /jsm/assets/workspace/{workspaceId}/v1/objecttypeattribute/{objectTypeId}/{id}
The Update method updates an existing object type attribute
DELETE /jsm/assets/workspace/{workspaceId}/v1/objecttypeattribute/{id}
The Delete method deletes an existing object type attribute
Default
Text
-
Data type with text representation, often used to show normal text. Max 450 characters.
Boolean
-
Data type with only two possible values: true or false.
Integer
-
Commonly known as a "whole number", is a number that can be written without a fractional component. For example, 21, 4, and โ2048 are integers.
This Attributes supports the Long Integer and will allow numbers that range from -2,147,483,648 to +2,147,483,647
Float
-
Data type representing numbers with decimals.
Date
-
Data type representing a Date field.
DateTime
-
Data type representing a Date and Time field.
URL
-
Data type representing an URL field. May be used for URL Ping service that pings the address every 5 minutes from the server side. Watch object to get email notifications on URL Ping Up/Down.
-
Data type representing an email field.
Textarea
-
Data type with text representation, often used when showing large text. Use Assets rich editor to customize the content. Unlimited characters in comparison to the Text attribute.
For developers: Missing attribute beans
Hereโs some info for developers trying to retrieve beans for this attribute using Java API.
Select
-
Data type to represent text values, predefined as options.
IP Address
-
Data type to represent IP Addresses (IPv4)
Object
Assets object
Reference Type
This type enables a reference to another object.
User
Jira group
Show on Profile
This type makes it possible to select a user from the selected Jira group and connect objects with users.
Confluence
Confluence instance
Confluence page
This type enables a link to a Confluence page.
Group
-
Show on Profile
This type makes it possible to select a Jira group and connect object(s) with user(s) in specified groups.
Version
Jira Project
-
This type makes it possible to reference a Jira Version from a specific Jira Project to your object(s).
Project
None
-
This type makes it possible to reference a Jira Project to your object(s).
Status
Allowed Statuses
-
This type is used to set a Status of an object. Define the statuses that should be allowed, and left empty means all statuses allowed.