You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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