Altoria

Precheck

On the Atlassian Marketplace

Checks an Assets CSV import file against the live schema and lists each problem by line and column, before you run the import.

  • Catches what the native import rejects late or drops without an error: values of the wrong type, references with no match, unknown statuses and select options, repeated unique values.
  • Exports objects with names instead of IDs.
  • Scans an object type for empty, duplicate, unlinked and stale objects and for broken references, with the AQL that lists each set.
  • Lists every object type in a schema and marks it "in use", "no links" or "empty".
  • Reads only and stores nothing. Free for up to 10 users.
Example
Facilities / Rooms65 objects
36 unlinked: no work items and no other object refers to them
objectType = "Rooms" AND object NOT HAVING connectedTickets() AND object NOT HAVING inboundReferences()
Example
Jira/Apps/Precheck
Import check Readable export Data quality Schema usage 6 problems in 412 rows
laptops-october.csvObject type: LaptopsDownload findings
LineColumnValueProblem
14OwnerJ. EvansA display name. The import drops it. Use the account ID.
27StatusRetiredNot a status of this object type.
51SerialC02XK1Also on line 9. Serial must be unique.
88LocationHQ-4No Location object has this label.
130Purchased31/13/2024Not a date in the format dd/MM/yyyy.
301TiersilverNot an option. The import would add it next to "Silver".
On this page
  1. Why
  2. Install
  3. Open the app
  4. Import check
  5. What is checked
  6. Results
  7. Readable export
  8. Data quality scan
  9. Schema usage
  10. What the app does not do
  11. Limits
  12. Data and privacy

Why

Assets CSV imports fail late. A run can end as "Failed" after it has already written every row that had no error, and the error list names each rejected object by its label, not by its line in your file. Some problems never show up at all. In our test, the native import left a number empty when the cell said "ten" or "3.5", left a reference empty when no object matched, linked one of two objects that shared a label, dropped a user given by display name, dropped an unknown status, and added "silver" as a new select option next to "Silver". None of those produced an error.

Install

Install it from the Atlassian Marketplace as a Jira site administrator. Your site needs Assets; the Free plan has no Assets API. The app asks for read scopes only. It has no storage and makes no network calls outside Atlassian.

Free for sites with up to 10 users. A site with more than 10 users pays for every user, per month: $1.00 a user for the first 100 users, $0.60 for each user from 101 to 250, $0.25 from 251 to 1,000, $0.15 from 1,001 to 2,500 and $0.08 above 2,500. For example, 50 users cost $50 a month. A year costs the same as ten months. The terms page lists the agreements that apply.

Open the app

In Jira, open Apps and choose Precheck. Anyone who can use Jira can open it. Every call runs as the person using it, so each person sees only the schemas and objects their Assets permissions allow. The page has four tabs: Import check, Readable export, Data quality and Schema usage. The first three use the selected object type. Schema usage uses only the selected schema.

Import check

  1. Choose the schema and object type the import writes to.
  2. Load the CSV and pick its delimiter. The file must have a header row, as for the native import; several values in one cell are separated by ||.
  3. Copy the settings from the import structure you will use: date format, date-time format, empty values, unknown values and identifier matching. The defaults are the native defaults: dates auto-detected, unknown values added, identifiers case-sensitive.
  4. Confirm how the columns map to attributes, and which attribute identifies an object. For a reference column, choose whether it matches on the label or on another attribute.
  5. Run the check.

The file is read in your browser. Only the values that need a lookup, such as identifiers, unique values, references, account IDs and group names, are sent to Atlassian to check them.

What is checked

  • required attributes, and how many values each attribute takes;
  • integers, numbers, booleans, dates and date-times, email addresses, URLs and IP addresses;
  • select options and statuses;
  • regular expressions set on attributes, and that text values are shorter than 255 characters;
  • unique attributes, within the file and against existing objects of the type and its child types. Values are compared as written, so the same date written in two formats is not caught;
  • references, matched on the label or the attribute you choose;
  • users by account ID and groups by name. Users given by email are flagged for you to confirm, since the app cannot look them up;
  • repeated identifiers, and which rows would create an object and which would update one.

Results

Errors mark invalid values and problems that stop Precheck from checking a row reliably. Warnings flag values the import may change or add, and things to confirm by hand. The results table filters by severity and problem. Download findings list gives the findings as a CSV with the code for each problem, and Download CSV with results column gives your original file with two columns added that say what is wrong with each row. Errors that apply to the whole file are repeated on every row they affect.

Readable export

Writes a CSV of the selected object type with the columns you choose. References come out as labels or object keys, and users as display names. Cells and column names that start with =, +, - or @ get a leading apostrophe, so a spreadsheet shows them as text. Plain numbers are left as they are. The object key and object type columns are optional, and so are child types. By default the export includes the selected object type. An optional AQL query replaces that filter; include an objectTypeId constraint to keep it. Columns still use the selected type's attributes, so returned objects without them get blank cells. The file starts with a UTF-8 byte order mark so Excel reads the encoding.

Data quality scan

Precheck data quality scan on the Facilities Rooms object type: 65 objects, 36 unlinked, with the AQL to list them
Precheck data quality scan on the Facilities Rooms object type: 65 objects, 36 unlinked, with the AQL to list them.

Scans one object type, and its child types if you select the box. It counts:

  • objects with empty attributes, with required ones counted separately (text area attributes are not searched);
  • labels and unique text values that differ only in letter case or leading and trailing spaces, plus one more eligible attribute of the selected type;
  • objects with no work items and no other object pointing to them;
  • objects not updated within a number of days you set;
  • references left pointing at the wrong object type after the attribute was changed to point at another type;
  • user values for accounts that are deactivated, deleted or unknown to Jira.

When an object is deleted, Assets clears every reference to it, so those never show up as broken. The results name attributes not checked for broken references because a referenced type could not be read or the scan reached its attribute limit. They also say if the duplicate or reference checks did not finish.

Each finding comes with the AQL that lists its objects, so you can open them in Assets search, and the findings download as a CSV. Atlassian bills Assets objects over the plan's allowance, so the scan shows the most that removing the unlinked ones could save. Unlinked objects may still be used by automations, imports or AQL elsewhere, so check before you archive or delete them.

Schema usage

Choose a schema and select Report on this schema. For each object type in the schema, the report shows its object count and when an object of that type last changed. It gives separate counts of objects referenced by other objects, objects linked to work items and child types. It also lists the reference attributes that point at each type, from schemas you can read. Download report gives the list as a CSV, with the child type names and the AQL for each type.

A type is marked "in use" if it has child types, if an attribute is set up to point at it (even with no values yet), or if any of its objects is referenced by another object or linked to a work item. Otherwise it is marked "no links" if it has objects, or "empty" if it has none.

Before you delete a type, check Assets fields in Jira, automation rules, import configurations and other apps that may use it; Precheck cannot see those. If you can see a schema but Precheck cannot read its attributes, the report and the CSV name that schema. A schema you have no access to is neither read nor named. Reference attributes in such schemas are not shown or counted, so a type they point at can be marked "no links" or "empty".

What the app does not do

  • It does not run the import or change anything in Assets. The scan lists objects and the usage report lists object types; archiving or deleting them is up to you, in Assets.
  • It checks CSV files only. JSON, LDAP and external imports are not covered.
  • It checks against the settings you give it. If they differ from your import structure, the results will too.

Limits

50,000 rows or 20 MB per file, and 50,000 objects per export. A scan checks only the first 50,000 objects for duplicates and broken references, and says so when it stops there. Split a larger file and check each part; duplicates and repeated identifiers are compared only within one file.

Data and privacy

Precheck stores nothing. It has no database, no file storage and no scheduled jobs, and nothing is kept after the page closes. Errors are logged as a function name and an error type, never with values from your data. Details in the privacy policy.

Get Precheck

Free for up to 10 users.

Try free on the Marketplace

Questions? Write to support@altoria.app.