Hi @Navesh
Luckily I have a script for that.
import com.atlassian.jira.component.ComponentAccessor
import org.apache.log4j.Level
import org.apache.log4j.Logger
def log = Logger.getLogger("in.ravisagar.sr4j")
log.setLevel(Level.DEBUG)
def projectManager = ComponentAccessor.getProjectManager()
projectManager.getArchivedProjects().each { it ->
log.debug(it.key)
log.debug(it.getIssueTypes()*.name)
log.debug(it.getComponents()*.name)
log.debug(it.getProjectLead()*.username)
log.debug(it.getVersions()*.name)
log.debug(it.getProjectCategoryObject()?.name)
}
I hope it helps.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Iam able to fetch list of archived projects.but I need a script to list all archived issues. Is that possible?
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.