Forums

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

Assets reporters attributes

Avdeev Andrey
Contributor
December 25, 2024

Hi

I use JIRA Service Management on Data Center

I want to show the reporter's phone number and email in the task

I made a Customers table in Assets and added the attributes mail, phone and jira_user for linking customer and reporter.

assets01.png

Added a read-only Assets custom field. In configuration added Object Schema

Filter Scope (AQL) - objectType = "Customers"

Filter Assign Scope (AQL) - jira_user = ${reporter.label}

assets02.png

Added a field to the task screen. Added a customer and specified attributes. Created a task on behalf of the customer. But nothing is shown in the field. Details in the pictures.

How to compose AQL requests correctly?

2 answers

1 vote
Avdeev Andrey
Contributor
December 26, 2024

The issue is resolved.
Unexpectedly, information appeared in the field.

0 votes
Tomislav Tobijas
Community Champion
December 26, 2024

Hi @Avdeev Andrey ,

To be clear - once you create ticket in JSM, Assets field on the agent view shows no results and you would wish to be able to select the same user from Assets as the one currently in the Reporter field?

Not sure if it's up to placeholders or the AQL itself, but can you try using

jira_user == ${reporter}

for the Filter Assign Scope (AQL) part?

Apart from that, when you try using just Filter Scope (AQL), without assign scope, does the dropdown display list of all users/customers from the Assets schema or none? Can you maybe provide some screenshots of Assets dropdown on the issue view?

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events