Forums

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

Hi can I post a script into a specific Script listener via api?

Dayan Aguilar October 8, 2024

The idea is to post a script via API in a specific Script listener in ScriptRunner is that possible?

1 answer

1 accepted

0 votes
Answer accepted
ChristopherChilds
Contributor
October 8, 2024

I think the best way to do this is to post the script to the Script Register via API.

If you open your network console and upload a file to the register you will find the API used.

Then you can keep your script in a repo and create a pipeline to upload it. Then you can create your custom Listener in Scriptrunner to point to the file.

Bibby-ty-bibby-ty-bop

Dayan Aguilar October 8, 2024

Thank you I'll try it.

 

Suggest an answer

Log in or Sign up to answer