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.
Community moderators have prevented the ability to post new answers.
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 – 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...
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