0

I would like lto create a menu item that can lead to a postfunction being executed once I click on it. I would like the menu item to look like the one shown below: 

enter image description here I feel like the only way to have a menu item is to have a fragment but I do not need a REST API that goes with it, I just need a series of actions to be executed once I click on the button. I do not need a new page to be shown once I click on the button and I feel like the REST API is doing this. I feel like the REST API always goes with the fragment. Which one of the following options in scriptrunner would allow me to do this? 

enter image description here

1 Answers1

1

One approach is to use a self transition in the workflow. That is, a transition that goes from the current status back to the same status. And then add the post function to that self transition.

mdoar
  • 6,758
  • 1
  • 21
  • 20