A field that displays the number of times that the given issue has been in the chosen status(es).

For this field you can select one or many statuses.

This can be useful as a simple counter, to easily identify issues that are bouncing between statuses.

For how-to questions please ask on Atlassian Answers where there is a very active community. Adaptavist staff are also likely to respond there.

Ask a question about ScriptRunner for JIRA, for for Bitbucket Server, or for Confluence.