The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.

 

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events