Perform searches based on issues that you have recently viewed, i.e. issues that are in the 'Recent Issues' section of the 'Issues' drop-down menu. if you are not logged in to JIRA, only issues from your current browser session will be included.
Note: Formely this function works in the same way as issueHistory() native Jira JQL function, but also allows you to limit the result, so keep in mind that altough recentIssues() function returns issues ordered from the most recent viewed issues to older, due to a limitation of the JQL language you must order the results using the lastViewed field, as well as you need to do with issueHistory(). Moreover, notice that it is possible to control the maximum number of items stored in the issue history via 'jira.max.Issue.history.items' property in the jira-application.properties file, as a consequence, this function, as well a issueHistory() function, will not return more issues than the maximun number of items specified by the 'jira.max.Issue.history.items' property.