Forums

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

Open Jira issues related to asset

BIJU VARGHESE June 12, 2023

Is it possible to get all the Jira issues related to asset objects? I have found this method called "GetObjectConnectedTickets," but I have to pass the object ID. My requirement is to retrieve all the Jira issues related to the asset and get only the open issues along with asset details. Could you please guide me to the correct API method? Thank you for your help.

1 answer

0 votes
Evgenii
Community Champion
June 12, 2023

Hi, @BIJU VARGHESE 

Looks like you're looking for that:

https://community.atlassian.com/t5/Jira-Service-Management/How-to-search-issues-linked-to-an-asset/qaq-p/1566920

Looking at description - it's what you asked. And this question is marked as Solved. Hope it will help

BIJU VARGHESE June 12, 2023

Hi Evgeniy, Thanks for the prompt reply. I am looking for all the open issues related to the AssetObject. The link you sent me requires us to pass the issue ID. Thanks for your help.

Evgenii
Community Champion
June 12, 2023

Then you can try aqlFunction, description is here:
https://support.atlassian.com/jira-service-management-cloud/docs/assets-jql-functions/

Example:
resolution is not EMPTY AND "Affected VMs" in aqlFunction('objectType = "Virtual Machine"')
"Affected VMs" - it's custom field.

BIJU VARGHESE June 12, 2023

Thanks for your message. I appreciate your help. Essentially, I need to include all the selected issue fields and the selected organization object field in my API. I'm wondering how I can display the organization-related object field.

Below is my API.

rest/api/2/search?jql=project in ("Test")%26status in ("Open","In Progress","To Do") &fields=issue,status,name,key,description,assignee

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events