How to find the Transition IDs for setting up GitLab integration

Edwin Cooley September 16, 2020

The documentation for this from GitLab is below.

(excerpt from this-- GitLab's documentation on Jira integration) .

The bold text is the point of my question as I do not understand where in Jira you would "mouse over the link for the transition." It does not do this in the Workflow view (diagram or text). 

Obtaining a transition ID

In the most recent Jira user interface, you can no longer see transition IDs in the workflow administration UI. You can get the ID you need in either of the following ways:

  1. By using the API, with a request like https://yourcompany.atlassian.net/rest/api/2/issue/ISSUE-123/transitions using an issue that is in the appropriate “open” state
  2. By mousing over the link for the transition you want and looking for the “action” parameter in the URL

2 answers

1 accepted

2 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 16, 2020

Hi Edwin,

Actually, you can go edit the workflow and choose the Text option instead of the Diagram option. You can see the transition ID there - it's usually a simple 3-digit number. 

Edwin Cooley September 16, 2020

Ah. I see the numbers in parenthesis. Thanks!! The obvious was right in front of me!

Issue Transition IDs in Jira.png

Like # people like this
mochadwi February 4, 2022

Or we can use Jira API instead, mentioned in here:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-get

 

`issueIdOrKey` provided from

e.g: `yourhost.atlassian.net/browse/<issue id or key here>` 

0 votes
SAJESH S F September 1, 2021

I am using a custom Workflow, I tried giving the numbers in the parenthesis as IDs. But it doesn't seem to work. Am I missing something?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events