Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a scriptrunner post function ( clone and links issues) using scriptrunner REST API

sunaina aytan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2019

Hi please could you help me,

 

I was wondering if it was possible to create a post function using script runner rest api endpoint.

 

So currently if you create an issue in project A for customer B, i have a post function that will clone that issue to project B. If you create an issue in project A for customer C I have another post function that will clone that issue to project C. I tried to do this in a more dynamic way but couldn't get it to work ( basically I have now set up 2 different post functions and set the conditions to be specific for that customer). So now I was wondering if a scriptrunner rest api example is available for creating a post function that I can use every time I get a new customer as opposed to creating the post function + condition manually.

 

created the scriptrunner post function by:  Clone and link all issues > set condition to be specific to a customer C and set target project so in this case C

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events