Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

78 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you