Forums

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

How to develop an Asset Picker?

Wenjing Liu August 4, 2025

Hi, everyone. I want to develop an Asset Picker but I have no idea about how to realize it.

Before Effort:

I tried to extend SelectCFType but it can just support String instead of insight object.

And I wanted to use AbstractSingleFieldType<ObjectBean>, but then I found it cannot show on the create portal and it'll be set to Hidden fields with preset value by default.

Here's my goal like below.

image.png

Any advice will be appreciated greatly. Thanks in advance!

1 answer

1 accepted

3 votes
Answer accepted
Tuncay Senturk _Snapbytes_
Community Champion
August 5, 2025

Hi @Wenjing Liu 

Insight already provides an object picker field. Why don't you use it and try to implement a new customfield?

Wenjing Liu August 5, 2025

Thank you very much! But I was sorry that I didn't find this, could you please specify it? Thanks for your advice very much.

Tuncay Senturk _Snapbytes_
Community Champion
August 5, 2025

There should be Assets Object customfield. See this Article.

If this is Data Center, it might be seen as Insight Object/s. You can configure the IQL filter to restrict selectable assets.

Wenjing Liu August 5, 2025

Thank you very much! That is very convenient for me. Best wishes for you and it's so kind of you.

Tuncay Senturk _Snapbytes_
Community Champion
August 6, 2025

I am glad it helped!

Like Wenjing Liu likes this
Wenjing Liu August 6, 2025

By the way, I'm curious about how jira realize this asset field, and I want to make a similar one for other uses but I can't find its source code. Do you have some ideas? Any advice will be greatly appreciated.

Suggest an answer

Log in or Sign up to answer