Forums

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

How can I automate asset discovery in AWS and JIRA SM Cloud?

Deleted user August 29, 2023

I have a JIRA Service Management Cloud Version and we use AWS, I would like to know if its possible to auto discovery infrastructure using JIRA? If it's possible, I also would like to know how to do it.

 

I know that we can use the JIRA Asset Discovery app, but I what I really want to know is how can I automate the search only using SM interface.

 

Thank you!

2 answers

2 votes
Wouter van den Berg
Community Champion
September 7, 2023

Hi @[deleted]

Haven't tried the Discovery functions yet as a lot of ports and whitelisting needs to take place on AWS side to allow for data extraction. Looking at security this is not really a suitable option. Using CSV files and placing them on a secure server and retrieving them from Jira via Automation is an option but again, that sever needs to be able to communicate with Atlassian and is therefore not suitable either. 

Using Lambda scripting to automate provisioning and then API requests does the trick. On AWS side you know what is provisioned and what is deprovisioned so it makes sense to have the logic coming from AWS. Using the REST API's you can then create objects in the Asset database. Unfortunately the script is under strict proprietary so I cannot share that. 

What I can share is: 


Creating Asset objects via REST API: 

https://confluence.atlassian.com/jirakb/how-to-create-assets-objects-via-rest-api-based-on-different-attribute-type-1157475506.html

Developer API Object API's

https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-group-object

I am sorry for not being able to share scripts with you. 

0 votes
Hakan Bahadir {Pio}
Atlassian Partner
January 22, 2025

Hello,

Just wanted to share that we launched AWS Importer for JSM Assets recently.

https://community.atlassian.com/t5/App-Central-articles/Streamline-Your-AWS-Asset-Management-with-the-New-AWS-Importer/ba-p/2922579#M11187

I hope that it will help.

Cheers.

Hakan Bahadir

Founder, Pio Software

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events