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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Marketplace Apps & Integrations

Do Not Lose your Customer’s Trust

Missing deadlines is one of the biggest problems every team lead wants to avoid when dealing with managed services. When the customer contracts your company to help with IT services it is expected th...

24 views 0 0
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