Forums

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

Can we customize status change on click of issue-workflow-transition-submit in a worflow screen?

saranya anand December 10, 2020

The workflow screen has a submit button ,onSubmit calling a custom  API .
If the API gives error response want to stop the status transition.

1 answer

0 votes
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.
December 11, 2020

Yes, you could write a validator that makes your external call and throws back an error if it fails.

If you do that though, you should think about the consequences of trying to do it - what does the remote system do with failed attempts to do things?  Does it matter that the Jira issue will not record any change or that it even tried to do something?

Suggest an answer

Log in or Sign up to answer