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

1 vote
Accepted answer

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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,086 views 4 9
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