Hi,
I am using ScriptRunner and want to create a JIRA REST endpoint so that it returns the issue of a specific project with the minimum datetime of a custom datetime field and other matching field values (let's say 'processed' == 'N'). How to do that?
Please enlighten and thanks.
Hello,
You would pass a project id to your REST endpoint and then iterate over all issues in the project, find the issue with the minimum custom field value and return it.
You can find the answer how to iterate over project issues here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.