Hi All,
I use the below code to connect to my JIRA project.
However the response I get is not the complete one.
When I use postman I get the complete list but when connected using VBA,
I get only empty response in projects.
HAs anyone successfully worked in connecting to JIRA API using excel macro.
Set objHTTP = CreateObject("MSXML2.XMLHTTP60")
Url = "https://t/rest/api/2/issue/createmeta/"
objHTTP.Open "GET", Url, False
'objHTTP.setRequestHeader "Content-Type", "application/json,Charset=ISO-8859-1"
'objHTTP.setRequestHeader "Content-Type", "application/json;charset=UTF-8"
objHTTP.setRequestHeader "Content-Type", "application/json"
'objHTTP.setRequestHeader "Accept-Encoding", "gzip, deflate,br"
'objHTTP.setRequestHeader "Accept-Encoding", "identity, deflate"
'objHTTP.setRequestHeader "Accept", "application/json"
objHTTP.setProxy 2, "proxy..com:80", ""
'MsgBox strPaylodValue
objHTTP.send " {""username"" : """ & JIRA_USER & """, ""password"" : """ & JIRA_PWD & """}"
strResponseStatus = objHTTP.Status
strResponseText = objHTTP.ResponseText