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

How to connect to jira using groovy script using Rest API?

BLD Sep 28, 2015

How to connect to jira using groovy script using rest api.

       I want to write a groovy script which first connects with jira then set summary and description automatically as issue gets created.

    Presently I have done connection with Java rest API and also i have done some operations,  now Iam looking for groovy script rest api.

  Any one Help me out.

thanks.

1 answer

1 accepted

2 votes
Answer accepted
JamieA Sep 29, 2015

It's not really clear what you want to do.

If you want to default the summary and description see https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/setting-default-fields.html

If you want to write your own endpoint as a script see https://scriptrunner.adaptavist.com/latest/jira/rest-endpoints.html

Otherwise you could just set them in a post-function.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Here’s what we’re doing to make Jira Cloud faster

Hello Community 🤗 I’m Nikhil, a Product Manager on the Jira Cloud team working on performance improvements. Performance is an ongoing journey and we continue to invest heavily in it. We under...

129 views 1 19
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