It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fetch JIRA Custom Fields via REST API URI call

Hello, I would like someone to help me fetch the custom field "Epic Link" using a REST API call. I have written a piece of VB macro that connects to the cloud instance and fetches the JSON. Sadly, the JSON is not including the custom field.


This is my URI

sJQL = ""


This is how I am connecting to JIRA

Public Function ConnectToJIRA(strJQL As String) As Object
With JiraService
.Open "GET", strJQL, False
.SetRequestHeader "Content-Type", "application/json"
.SetRequestHeader "Accept", "application/json"
.SetRequestHeader "Authorization", "Basic " & UserPassBase64
.Send ""

If .Status = "401" Then
MsgBox "Not authorized or invalid username/password"
End If

JSONFile.WriteLine JiraService.ResponseText
Set JSONObj = JsonConverter.ParseJson(JiraService.ResponseText)
Set ConnectToJIRA = JSONObj
End With

End Function


The JsonConverter.ParseJson is a free source code that parses the JSON response into an object.

Sadly, the Atlassian article shows how to to make a REST API call via cURL. I do not know how to use cURL in a VB macro. Thanks in advance.

1 answer

Bumping thread. Can someone please help?

Suggest an answer

Log in or Sign up to answer

Community Events

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

Events near you