Forums

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

How do we get the reporter e-mail through a placeholder to use on an AQL?

Howard Nedd
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 Leaders.
February 23, 2023

I am looking to solve an issue..


We currently have the following:

 

CURRENTAQL.png

I don't want to use Atlassian account. Instead I want to use the email of the reporter for example.

How do we get the reporter e-mail through a placeholder to use on an AQL?

Regards
Howard

1 answer

0 votes
Jeroen Poismans
Community Champion
February 23, 2023

Hi Howard!

Long time, no see :-) 

Have you tried:

${reporter.emailAddress}

 

Regards,

Jeroen

Howard Nedd
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 Leaders.
February 23, 2023

Hi @Jeroen Poismans ,

 

Great to hear from you!

I tried that, it does not load the objects as soon as I change it to:

object HAVING inboundReferences("Atlassian Account" =${reporter.emailAddress}

Or would you approach the Filter Issue Scope  differently?

 

Cheers for replying.

Regards
Howard

Jeroen Poismans
Community Champion
February 23, 2023

Hi,

Can you provide me with some details:

  • What type of field is attribute is "Atlassian Account"?
  • If an object, what attributes does it have?

Regards,

Jeroen

Howard Nedd
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 Leaders.
February 23, 2023

Hi,

 

Of course.

Goal:

Users Accounts (Object) in assets and in JSM need to be mapped to display relevant values in some dropdowns to the current user (customer portal). How this matching should be done? Atlassian account VS email? All users in both Jira & Assets in our context are expected to be present in both side and thus the matching with email adress should be sufficient and adding the Atlassian account shouldn't be required. 

 

So these are the objects within the object schema:
Screenshot 2023-02-24 at 08.24.48.png

 

Zooming into the User Accounts Object (which are users/customers):

Screenshot 2023-02-24 at 08.25.21.png

Now, Atlassian Account is an Attribute of the object User Accounts:

Screenshot 2023-02-24 at 08.26.32.png

Here is an object graph for an user account:
Screenshot 2023-02-24 at 08.31.50.png

Hope that gives the required details. To be fair, the more and more I investigate it looks like the placeholder for email can't be used in an AQL.

 

Regards,
Howard

Jeroen Poismans
Community Champion
February 24, 2023

The Accounts OT (not the User Accounts), does it have a link to User Accounts?

In other words, is User Account present as attribute on the Accounts OT?

 

Jeroen

Howard Nedd
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 Leaders.
February 24, 2023

These are the attributes for Accounts:
Screenshot 2023-02-24 at 10.43.36.png

ObGraph:

Screenshot 2023-02-24 at 10.44.38.png

InboundRef for Accounts:

Screenshot 2023-02-24 at 10.46.07.png

 

So, as far as I can grasp :), these are objects referring to each other. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events