Forums

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

AQL how to copy value from user picker custom field

Piotr Mańkowski July 7, 2023

Hi!

I have insight field in Issue and configuration like this:

Screenshot 2023-07-07 at 13.57.55.png

In "Filter issue scope (AQL)" need to change value from $reporter to user from custom field (user picker) but none of these don't work. Any solutions? :)

Screenshot 2023-07-07 at 15.15.08.png

2 answers

0 votes
Piotr Mańkowski July 11, 2023

bump

0 votes
Kai Becker
Community Champion
July 7, 2023

Hi @Piotr Mańkowski 

thanks for your question. Is the Assigned To Attribute a single user attribut or does it take more values?

Also, what type is it? Jira User? String? As ${reporter} worked, it is probably something user related.

Piotr Mańkowski July 7, 2023

Hi @Kai Becker 

thanks for your question. Is the Assigned To Attribute a single user attribut or does it take more values? // all have only one value

 

Also, what type is it? Jira User? String? As ${reporter} worked, it is probably something user related. // user picker ( single )

Kai Becker
Community Champion
July 7, 2023

Thanks for clarification.

In my demo environment, I have the same setup.
Your second try "Assigned To" = ${customfield_12345} should be right, as both sides carry an user object.

An alternative you could try would be: 

"Assigned To".label LIKE ${customfield_12345.displayName}

Piotr Mańkowski July 10, 2023

None of them :(

Below insight field which i want to copy from and attributes config

Screenshot 2023-07-10 at 12.02.47.pngScreenshot 2023-07-10 at 12.03.24.png

Issue:

Here's my customfield 'osobazwracajacasprzet' (user picker like reporter or assignee ) Asset field "Komputer" from reporter or assignee works good because on list i have assets from reporter/assignee, from custom list is empty.

Screenshot 2023-07-10 at 12.03.42.png

Kai Becker
Community Champion
July 11, 2023

Hi @Piotr Mańkowski 

sorry for the delay. This ist quite strange.
I would recommend opening a support request. :(

Piotr Mańkowski July 12, 2023

That was my first reaction tbh.

Could you put some screens how it works about your fields in same scenario?

Like Kai Becker likes this
Kai Becker
Community Champion
July 13, 2023

hey @Piotr Mańkowski 

the following setup is working in my environment:

Screenshot 2023-07-13 at 22.53.29.png

Piotr Mańkowski July 14, 2023

Thank you @Kai Becker

1. "Besitzer" = "Assigned To"?

2. Could you put screenshot of attributes which u have in Insight?

Kai Becker
Community Champion
July 14, 2023

hi @Piotr Mańkowski 

1. Yes, you are right.

2. Attributes:

Screenshot 2023-07-14 at 21.26.15.png

Piotr Mańkowski July 17, 2023

@Kai BeckerStill not working for me :( tbh i don't know why because it looks like same configuration. Maybe custom field which is user picker don't send correctly value to insight field because instead reporter or assignee work good.

Robert Wen_Cprime_
Community Champion
July 17, 2023

One thing I didn't see in your User picker attribute was which Atlassian groups were selected.  You may need to have that populated.

Piotr Mańkowski July 18, 2023

@Robert Wen_Cprime_ 

I have 3 ActiveDirectory groups

Screenshot 2023-07-18 at 13.32.42.png

Suggest an answer

Log in or Sign up to answer