Forums

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

How to make a custom field (type=list) that has its list populated from a jql query?

L-IT Group
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2023

I use Jira cloud

I made a new issue type  = company. I have companies data stored in this issues.

On customer question issue screen, I want to put a custom field = "Source" which would be a list populated from company type issues, so I could choose the company field value from a list when createing the customer question.

Please, how can I do this? (limited coding capabilities), as far as I can go to activate scriptrunner.

In your experience, can scriptrunner do this?  If yes, then please write how..

Thanks in advance!

Sincerely: Jozsef Mezosi

1 answer

0 votes
Nic Brough -Adaptavist-
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.
February 28, 2023

Welcome to the Atlassian Community!

There's no way to do this directly.  JQL doesn't return any issue data, it just gives you a list of issues.

The closest you can get would be an ordinary select-list custom field and a script that adds or amends options to it when the results of your JQL is amended.

Suggest an answer

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

Atlassian Community Events