Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

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

@Andreas von Euw Question...

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

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

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

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

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

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