Turn groovy script into endpoint

Emanuel Jianu May 5, 2020

Hi all!

I have zero groovy knowledge, hope you can help me.

We have a groovy script that we use from Console that is creating Confluence pages based on files on the Linux filesystem, this way importing articles created in a different app.  I want to turn this script into an endpoint so I can call it from a bash script and automate the manual steps. The bash script will need to trigger the groovy script, then constantly check its status. Once the groovy script reports "complete" it can go to the next step. I am uncertain how I can update the groovy script to turn it into an endpoint and also have it reporting the status as "running" and "complete".

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events