On this page, the instructions read "If you are importing Jira users or groups into Assets, you must identify the users or groups by their IDs, not their Name(s)."
This is cumbersome as we'd need to go a massive join to get e-mails and IDs into the import csv. Is there a way to use AQL on the import to find users by their e-mails?
Hi, @Elena Jakubiak
When you're configuring mapping, in import, you can use such AQL, to find matching user:
Email = ${email}
In my similar import it's made so:
Is employee a custom object you created or a proper "JIRA Identity"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the issue is that I can't seem to get AQL correct for the "User" class
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's custom object. Looked for exact match, with Jira user.
For Jira User as label I use email, so it's enough to use such mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"Account Name" it's my attribute, not yours, it's example. Show please attributes of category, where you import Jira User objects
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I agree it should work, but I cannot get JSM Assets to find the attribute 'email' or any variant of it.
This AQL Works
This AQL Does not work
So to import to a JIRA user I need to either
1. Find a field on which I can set AQL
2. Find some "base" object (like the equivalent to $)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"Owner.email" won't work, try Owner.email without quotes, or "Owner".email
So, for mapping you can use next AQL
email = ${email}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The object I am trying to import has this schema. Owner is a field in the object schema . Owner is of type "User" which is a JIRA built in (it is all the users of JIRA at our office). I cannot find the attributes for "User" which will work in AQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All the JIRA users already exist so I don't want to make them all again. I can link my objects to the existing JIRA users if I import the user ID instead of user e-mail, as it says in the instructions. I am just asking isn't there a way to use AQL to link via e-mail. If anything, I would just end up add user IDs to our imports.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At this point, I'm thinking that user ID is in one table, and the associated information (e-mail, name, ...) is elsewhere which is why I can't query in AQL on User attributes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One last try - you can use mapping in import, without attributes. Just like on your screenshot, where you used query: "Owner" = "ejakubiak@irobot.com"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.