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

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
Posted an hour ago in United States

Atlassian Government Symposium

Good day members, Not sure if you are aware that Atlassian will be hosting a Government Symposium on May 1st, 2019 in Washington DC. For more details please click here If you have any questions...

11 views 0 0
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you