The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a User field in Assets via the Import API?

David Foote
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 21, 2023

Hi all,

I am building out a mapping schema for an Employee object in Assets. One of the fields I'd like to have is the 'User' type, to hold the Atlassian User Id so I can easily link a given record back to it's Atlassian account.

However, while I am able to create this field via the UI, I am having trouble finding if it's possible to define it in the objectSchema portion of the Assets import mapping.

In looking through the official schema, https://api.atlassian.com/jsm/assets/imports/external/schema/versions/2021_09_15, there is a list for attribute types, but nothing in there seems to be 'User'.

Does anyone know if this is possible or if I am forced to use the UI to define a User field?

 

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Pedro Arroyo
Contributor
May 24, 2024

It's a limitation and there's an enhancement request for this: https://jira.atlassian.com/browse/JSDCLOUD-10732

0 votes
Robert Andersen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 18, 2024

this error I got suggests also that there is no "user" type.

screenshot_20240318-145309.png

This seems like a unnecessary limitation, as we can import Jira users via id with json file import.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events