My use case is as follows -
1. Pull in some information thru REST. (Have achieved this by using the curl command in a groovy script within ScriptRunner).
2 Parse this information and iterate thru multiple records and do the following -
a. move select information to specific custom fields
b. create a new issue in the RA project -
( Have achieved this by a groovy parse function and then calling the ScriptRunner provided create issue function ).
I have been currently doing this using ScriptRunner , within a scripted field to test this functionality end to end.
A few questions on this .
1. is there some way to trigger the above use case based on some sort of refresh key/event?
2. Where should this script be ideally located ? (instead of using it within a custom scripted field).
Thanks for any pointers on this .
Thanks . I tried to look for ScriptRunner services .
Checked Admin → Services.
It shows Add Service but no clickable option to add a service . Need to check this.
If you have a working prototype built with ScriptRunner, then use ScriptRunner services to execute your script!
These are triggered periodically, and of course, your script will not be tied to a custom field (which is conceptually broken).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.