Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Send ticket from VBA to Jira using Json

John danny
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2021

I want to import a ticket to Jira using VBA. The authentication works (Jira-rest-API), but for some reason, the "Send JSON" part doesn't.

I can get the info for a specific issue (ex: using "GET" instead of "POST" and using this URL https://www.popularthemereview.com/ but when I have to send a new issue, the code doesn't do anything (no error message). Can someone help me with this please? :)

1.PNG

22.PNG 33.PNG

1 answer

0 votes
Thomas Deiler
Community Champion
November 4, 2021

Dear @John danny ,

welcome to the community!

In you upper code snippet you used following path:

https://myproject/rest/api/2/issue/

remove the ending '/' and try again.

You could also try to add another HTTP header:

User-Agent: x

And please enable debug/error logging - this makes things easier.

So long

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events