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?

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted

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.

Community showcase
Published in Atlassian Community Events

It is me, Andy B ! a.k.a. FUN MAN ANDY [Community Showcase]

COMMUNITY SHOWCASE – FUN MAN ANDY “Showcases spotlight Atlassian Leaders who make a big impact on our Community. The Atlassian Community Team taps Leaders to share more about themselves and their A...

157 views 10 9
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