Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to pop up the screen when the issue transition

hcy November 20, 2022

When I execute the operation of a issue transition, a screen will pop up, but when I use this api, for example, if the parameter "transition": "11", the issue will transition directly without popping up the screen. Now, what I want to achieve is that this screen pops up when I call the api. How can I do this.

11.21.png

2 answers

2 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2022

You do not.

A REST call has nothing to do with the UI, there's nowhere for it to trigger a screen.

Your code will need to implement a UI to pop something to ask the user for the data that Jira would ask for in the target transition screen, and feed the data to the REST call that is attempting the transition.

hcy November 22, 2022

@Nic Brough -Adaptavist- thank you very much!

0 votes
Answer accepted
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2022

Hello @hcy 

Transitioning an issue via the REST API makes it 'silent', so the GUI window will not appear, and there is nothing you can do via the REST API request to make it appear.

hcy November 22, 2022

@Sunny Ape thank you very much!

Suggest an answer

Log in or Sign up to answer