Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Get all issue status transitions and their respective Issuenum

Hey community,

I refer to this amazing post

It has helped me get the issue transitions i needed.

Now I want to get the issue number of these issue transitions.

Can someone tell me which table to join to and on what.

Thank you very much!

2 answers

1 accepted

0 votes
Answer accepted
Antoine Berry Community Leader Apr 10, 2019

Hi @Benjamin chee_guoee ,

Please try this : 

CONCAT(project.pkey, '-', jiraissue.issuenum) as issuenum,
changeitem.oldstring as oldstatus,
changeitem.newstring as newstatus, as author,
changegroup.created as created
FROM changeitem
JOIN changegroup ON
JOIN jiraissue ON jiraissue.ID = changegroup.issueid
JOIN project ON project.ID = jiraissue.PROJECT
WHERE changeitem.field='status'


Antoine Berry Community Leader Apr 16, 2019

Hi @Benjamin chee_guoee ,

Did that help ?


Hi Antoine, yes it worked! Thank you! (:

Like Antoine Berry likes this
0 votes
John Funk Community Leader Apr 16, 2019

Hi Benjamin - Welcome to the Community!

If you are looking for the ID of the transition itself (and not really an issue id/key) then you can find that by editing the workflow, then click on Text to see the full listing of all transitions and find the appropriate ID for it. 

Hey John,

I will try this out! 

Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

1,140 views 2 7
Join discussion

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