Request Type in Filter Issue Scope of an Assets Object Field does not work

Andreas von Euw December 20, 2022

In a Assets Object Custom Field I want to create a Filter Issue Scope AQL referencing the Request Type of the current Issue. Request Type Field is of Type "Customer Request Type Custom Field".

I've tried a lot but with no success: 

  • "RequestTypes" LIKE ${requesttype.name}
  • "RequestTypes" LIKE ${customfield_10700}
  • "RequestTypes" LIKE ${customfield_10700.name}
  • "RequestTypes" LIKE ${customfield_10700.requestType}
  • "RequestTypes" LIKE ${customfield_10700.requestType.name}

Following AQLs do work:

  • referencing the Issue Type: 
    Filter Issue Scope (AQL): "RequestTypes" LIKE ${issuetype.name}
  • referencing another text only custom field:
    Filter Issue Scope (AQL): "RequestTypes" LIKE ${customfield_13700}

Question

Is it not possible referencing a complex custom field from an AQL ? Or does anybody has a solution for this?

We are running Jira 9.4 / Service Management 5.4. 

3 answers

0 votes
Scott Boisvert November 21, 2023

@Andreas von Euw Question...

How did you get the Customer Request Types to import into Assets? The Jira Importer doesn't bring them in.....

Andreas von Euw November 21, 2023

I didn't. My "RequestType" Attribute in this sample was just a dump text field with a list of request type names. 

Tony Mottes November 22, 2023

I have used a scripting app (powerscripts) to write functions which use api calls to build the request types as asset objects. 

Scott Boisvert November 22, 2023

Yeah, I thought about writing a Job in ScriptRunner. You would think the Assets Jira App would pull them in automatically.....

0 votes
Tony Mottes July 4, 2023
Tony Mottes July 4, 2023

Also, try ${customfield_10700.label}. That seems to work for asset object types.

0 votes
tidus12589 January 20, 2023

I have the same problem.

Have you found the solution?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events