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: 

Struggling with Filter Issue Scope (AQL)

JZD
Contributor
August 6, 2024

Hi 

Once again I am struggling with the Filter issue scope for a custom field, maybe someone can help me a bit.

Following situation:

  • Custom Field is created and visible in the issues in Service Desk (only for technicians)
  • Assets are created for exactly this case 
    • Assets are Providers with
      • Mobile Plan Providers
      • Plans
  • Every User which has a mobile plan, has the mobile plan added manually to the Asset Employee and its visible und the employee itself
  • The Plans are in dependancy with the mobile Plan Providers
  • No special "assigned to" how known for the Laptops for employees

Actually the configuration for the Custom Field looks like

SCR-20240806-lvfj.png

I am not able to find the AQL to show the correct plan for the user which has created the issue. Actually i can choose the plans which are created as assets in the providers schema.

Trying for example:

 

Filter issue scope (AQL): "Assigned User"."Atlassian Account ID"=${reporter}

which i have for the laptos doesnt work. 

I appreciate for any help

Thank you in advance

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
JZD
Contributor
August 6, 2024

Found the solution. THX

 

Friedrich Behnk
October 28, 2024

Hi @JZD

 

we have the same issue.

Would you like to share your solution?

 

Thx

Friedrich

gyorgy.rauf
November 5, 2024

@Friedrich Behnk you can try ${reporter.accountId}, that is the reference to the reporter - or I believe any user type object - field's actual user account.

Reporter is considered as an object AFAIK which has attributes you can use. I am using these for example.

  • reporter.displayName
  • reporter.emailAddress
  • reporter.accountId
Friedrich Behnk
November 11, 2024

Hi @gyorgy.rauf,

"currentReporter()" worked for me.

Thanks and have fun.

Friedrich

 

 

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

Atlassian Community Events