# GroovyHttpClient Not working for Jira

**URL:** <https://community.exalate.com/t/groovyhttpclient-not-working-for-jira/6710>\
**Category:** General Questions\
**Created:** [September 4, 2025, 10:27am UTC](https://community.exalate.com/t/groovyhttpclient-not-working-for-jira/6710 "2025-09-04T10:27:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhiren](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/dhiren/32/356_2.png) [@Dhiren](https://community.exalate.com/u/Dhiren)\
**Post date:** [September 4, 2025, 10:27am UTC](https://community.exalate.com/t/groovyhttpclient-not-working-for-jira/6710/1 "2025-09-04T10:27:15Z")

</div>

Hi,

I am trying to use GroovyHttpClient to make a GET call in Exalate on Jira Cloud but it gives me the following error :

Unable to perform the request GET [https://api.atlassian.com/jsm/assets/workspace/def54b2e-b9c9-4888-b912-4a23b39002a6/v1/object/1](https://api.atlassian.com/jsm/assets/workspace/def54b2e-b9c9-4888-b912-4a23b39002a6/v1/object/1) with body: ```null``` , please contact Exalate Support: No such property: JiraClient for class: jcloudnode.services.jcloud.hubobjects.NodeHelper

Here’s the code that I am using :

```auto
String key = issue.key
def result = httpClient.get("/rest/api/latest/issue/"+"$key")
def workspaceId = ("${result.fields."customfield_10087".workspaceId}".replace("[","").replace("]",""))
def objectId = ("${result.fields."customfield_10087".objectId}".replace("[","").replace("]",""))
def USER = "yyyy"
def token = "xxxx"

//def jc = new JiraClient(httpClient) 
def res = new GroovyHttpClient(nodeHelper)
.http(
"GET",
"https://api.atlassian.com/jsm/assets/workspace/${workspaceId}/v1/object/${objectId}",
null,
[
"Content-type" : ["application/json"],
"Authorization" : ["Basic ${(USER+":"+token).bytes.encodeBase64().toString()}".toString()]
]
)
def js = new groovy.json.JsonSlurper()
def jsonRes = js.parseText(res)
replica."Asset information" = jsonRes.label 

```

I am pretty sure this worked in the past.

My Exalate Version is 5.27.0.

Any thoughts please?

Thanks, Dhiren

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [September 4, 2025, 10:27am UTC](https://community.exalate.com/t/groovyhttpclient-not-working-for-jira/6710/2 "2025-09-04T10:27:15Z")

</div>

Hi and welcome to the Exalate Community!

Thanks for sharing your question or insight, we appreciate your contribution.

A member of the Exalate team or community will review this post and respond as soon as possible.

In the meantime, feel free to explore related topics or join other conversations. We’re glad to have you here!

---

<div class="post-metadata">

**Author:** ![Ariel\_Aguilar](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/ariel_aguilar/32/341_2.png) [@Ariel\_Aguilar](https://community.exalate.com/u/Ariel_Aguilar)\
**Post date:** [September 16, 2025, 8:39pm UTC](https://community.exalate.com/t/groovyhttpclient-not-working-for-jira/6710/3 "2025-09-16T20:39:25Z")

</div>

Hi Dhiren,

Can you get the response.code what is it?

Kind regards,

Ariel

---

<div class="post-metadata">

**Author:** ![Dhiren](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/dhiren/32/356_2.png) [@Dhiren](https://community.exalate.com/u/Dhiren)\
**Post date:** [December 3, 2025, 10:15am UTC](https://community.exalate.com/t/groovyhttpclient-not-working-for-jira/6710/4 "2025-12-03T10:15:48Z")

</div>

Hi Ariel,

I believe it was a 403.

Let me reproduce this again and get back to you.

Thanks, Dhiren
