Get "Last Used" information from a Custom Field using API?

Antony Delgado
Contributor
April 5, 2023

Hello Atlassian Community!

I would like to know if it's possible to get the "Last Used" information from Custom Fields using Atlassian API.

I was looking for this attribute in API Documentation but I couldn't find it.

 

get-issues-data.png

 

Thanks in advance!

1 answer

1 accepted

2 votes
Answer accepted
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 6, 2023
Antony Delgado
Contributor
April 7, 2023

Yes! Definitely that's the information I need.

I couldn't search this before.

Thanks @Moha !

Like Srikanth Gowda B S likes this
Edvinas Puslys
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!
June 9, 2023

Hey how did you end up using this as for me it always seems to fail, or do you do it field by field?

Antony Delgado
Contributor
June 9, 2023

Hi @Edvinas Puslys I had to add the "expand" param to get this value, I share my example:

 

https://xxxxxxxx.atlassian.net/rest/api/3/field/search?startAt=1000&expand=lastUsed, key,isLocked,screensCount,contextsCount,searcherKey&orderBy=lastUsed

 

Where "xxxxxxxx" is the company domain. 

Edvinas Puslys
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!
June 12, 2023

Is there any way to increase the 

"maxResults": 50 as I tried editing the params but it still does not seem to change a thing
Like Srikanth Gowda B S likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events