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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,307 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot