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

Can I Filter Issue Scope on Jira custom field's Single Select in Cloud?

Jessie Chia
Contributor
July 18, 2024

I am trying to filter assets objects by a single-select custom field's value. Example: 

  • Location: Australia -- this is a single-select custom field
  • Hardware: <Assets custom field, list filtered by object type's attribute called "Location" the selected Location option value> 

Entering any of the following into the Filter Issue Scope field of Hardware's assets configuration kept giving me the error message "The AQL query contains one or more placeholder custom field IDs that are invalid or not Assets object fields. ":

  • Location = ${customfield_XXXX}
  • Location = ${customfield_XXXX.label}
Screenshot 2024-07-19 at 10.02.27 AM.png
Does Cloud only support placeholder of another Assets custom field? Is there a way to use a placeholder for a custom field?
Thank you!

1 answer

0 votes
Adolfo Casari
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.
July 18, 2024

@Jessie ChiaAttach a screenshot of Hardware CF configuration.

Jessie Chia
Contributor
July 18, 2024

Screenshot 2024-07-19 at 10.02.27 AM.png

Adolfo Casari
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.
July 19, 2024

@Jessie Chia

Location=${customfield_10074.label}

Jessie Chia
Contributor
July 21, 2024

Thank you, Adolfo. However, this does not work.

Screenshot 2024-07-22 at 7.16.44 AM.png

Adolfo Casari
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.
July 22, 2024

customfield_10074 is your single select customfield, right?

Location, the hardware attribute, is single or multiselect?

if it's multiselect, use IN instead =

Jessie Chia
Contributor
July 22, 2024

Correct.

What you have suggested work in Data Center edition, but does not work on Cloud.

Adolfo Casari
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.
July 22, 2024

That's right, I am in DC.

Actually that's a restrictiction in Cloud, but here is a workaround:

https://jira.atlassian.com/browse/JSDCLOUD-10185

(i.e. move your Location single select to an Asset object and use this in your request)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events