You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi there,
I have a For AQL branch which is looking up records in a User object type where the Jira user is empty and then doing a GET per below
https://site.atlassian.net/rest/api/3/user/search?query={{object."Email Address"}}
I am never getting any records back, what am I doing wrong.
The send web request is correct as I connect, but I am just not returning any records back.
What have I gotten wrong?
@Ste404 -
In automation AQL branching - here is the smartvalue for Assets objects reference -
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-insight/
Under the "Object reference" section of the page - take a look at the first example on Employee object where it has Manager reference.
Need to know more on your Assets object configuration - Is Email Address a reference of the object and the reference has the email address value?
I know that if I want to obtain the emailaddress of a user object (not related to Assets schema, the smartvalue syntax is something like:
{{reporter.emailAddress}} or {{assignee.emailAddress}}
Please advise and hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
Hey,
yeh Email Address is in Assets. So for any records in Assets where 'Jira User' is empty I am trying to use the Email Address from the record in Assets in the api GET to find a match. The webresponse back should include the accountId of the user from Atlassian when the emails match, then I am trying to edit the 'Jira User' attribute with the accountId, I just can't get a match using that GET string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ste404 -
As I am not savvy with REST APIs usage, so I would recommend you to contact Atlassian Support for technical advise on the APIs (https://support.atlassian.com).
I do know that Atlassian is still enhancing the REST APIs for Assets, so we may just have to wait and see.
Sorry.
Best, Joseph
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.