Send a web request from a SIL script

Is it a all possible to send a web request (GET, POST, etc.) or even send a curl command from SIL script? Thanks!

2 answers

1 accepted

Yes, it is possible, we have httpGet and httpPost routines for web requests and if you need to call the curl command, we have the system routine.

 

Docs:

https://confluence.kepler-rominfo.com/display/SIL30/httpGet

https://confluence.kepler-rominfo.com/display/SIL30/system

 

no request body access, no payload, no SOAP

not its not possible

What are you trying to achieve, Anton? I'm sure there is a way for you, too.

Possible with SIL system routine. Beware of problem with passing parameters with spaces.

No, is not possible. I'm don't know what you want to achieve, but webhooks might be a solution for you: https://confluence.atlassian.com/display/JIRA/Managing+Webhooks

Cheers!
Teilor

Basically what I want to do is, on issue create, look for string format in the description (i.e. via regex) and if it matches, send a web request that contains info from that string.

I believe you could do this using ScriptRunner, but I'm not sure how. I found some examples here https://answers.atlassian.com/questions/314819/making-a-rest-call-using-script-runner

Teilor, he's already using JJupin and JJupin can solve his problem. Personally, I won't try a new plugin that might solve a problem if I already have a solution in my own toolbox.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

711 views 6 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you