How to find Sprint custom field in jira source?

How to find Sprint custom field in jira source?

Hi @Marty ,

Welcome to the Atlassian Developer Community!

If you meant find the reference of field so you can either get the value or do whatever to the sprint custom field when you said find Sprint custom field, then you can try something like CustomFieldManager. getCustomFieldObjectsByName(“Sprint”).

What have you tried so far?

Cheers,
Ian

Hi!
It’s not what I’m looking for. I’m trying to create a custom field similar to the sprint field. The idea is to not be able to remove the old values ​​from the field if a certain date has passed. Just like it is done in the sprint field, when the sprint is over you cannot erase the completed sprint.