Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to list moved jiras from a project to another in Jira cloud


I am trying to list all the jiras to an excel that are moved from one project to another. I found recomendations in jira but not on jira cloud.

I have scriptrunner installed and looking for  sample script to list these jiras.

2 answers

1 accepted

1 vote
Answer accepted

I was able to list all moved jiras using the below script on Jira Cloud Script Runner.

// Define a JQL query to search for the issues
def query = '<Query>'

// Fetch the issue object from the key
def searchReq = get("/rest/api/3/search")
.queryString("jql", query)
.header('Content-Type', 'application/json')

//save the search results
Map searchResult = searchReq.body

searchResult.issues.each { Map issue ->

issue.changelog.histories?.items?.eachWithIndex { it, i ->
def map = it

map.each { entry ->
//"Entry ${entry.field}")
def level1 = entry
def answer = ''
def from = ''
level1.eachWithIndex { key, value, j ->

if(value == "Key"){
answer = 'Key'


if(key == "fromString" && answer == "Key") {
from = "$value"

if(value == "${issue.key}" && answer == "Key") {
// This will display the old ticket number and new ticket number ("$from moved to $value")





Brant Schroeder Community Leader Nov 19, 2020


0 votes
Brant Schroeder Community Leader Nov 19, 2020


 Unfortunately that is not available yet in script runner for Jira cloud. More information can be found here:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Work Management

Jira Work Management FAQ

Welcome to the Jira Work Management FAQ We're glad you're here. If you haven't already, watch our video to get a one-minute overview of Jira Work Management. Check out some basic technical and logi...

7,576 views 52 25
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you