I think Thanos is questioning the requirement. You already have direct access to the JIRA that your post-function is running in and do not need to use REST to talk to it. My guess is that you are writing code that updates another remote JIRA?
yes right, I have access to JIRA but want to create issues within JIRA using REST API (REST APIs available for JIRA; https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-create-issue) within a post function with groovy script. Later i will use REST API of some other applications.
Thanos, the script worked fine but when used in post function, it did not create any issue . Rather, i got error as "groovyx.net.http.HttpResponseException: Bad Request".
Can you please let me know if i need to do something else also, in order to create issues in this way?
Hi there! Shannon from Statuspage here. 👋 With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...
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!
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