Another options is the JSU add-on, whic offers a "Transitions" tab that shows details of the transitions through which an issue has moved. https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities/server/overview
Script for what plugin? If for ScriptRunner, it could be like this
import com.atlassian.core.util.DateUtils import com.atlassian.jira.ComponentManager import com.atlassian.jira.issue.history.ChangeItemBean def componentManager = ComponentManager.getInstance() def changeHistoryManager = componentManager.getChangeHistoryManager() def inProgressName = "In Progress" changeHistoryManager.getChangeItemsForField (issue, "status").reverse().each{ChangeItemBean item -> if (item.fromString == inProgressName) { // do whatever you want } if (item.toString == inProgressName){ // do whatever yoou want } }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.