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, confluence administration, confluence admin training, confluence learning path, manage users and permissions, confluence certification, atlassian learning, cloud admin tools, streamline collaboration, confluence admin best practices

🚨New Confluence Admin Course Alert!

Manage Confluence like never before! This new learning path teaches you how to manage content, users, and permissions while optimizing user experience. Built for admins at all levels who want to confidently lead and unlock more innovative collaboration.

Learn more
AUG Leaders

Atlassian Community Events