Forums

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

How to manipulate Insight objects over REST API in scriptrunner

Janco Hoekstra July 15, 2022

Hi,

I would like to manipulate (read, change attributes, etc ) Insight objects in scriptrunner.
I'm using cloud so the on-prem library (com.riadalabs.jira.plugins.insight) doesn't work.

Is there another library that works with cloud to do this?

 

1 answer

1 accepted

2 votes
Answer accepted
Dirk Ronsmans
Community Champion
July 15, 2022

Hey @Janco Hoekstra ,

For Cloud it indeed workst a bit different.

Information on the Insight (or should we call it Assets now) REST API can be found here:

https://developer.atlassian.com/cloud/insight/rest/

Janco Hoekstra July 15, 2022

Hi @Dirk Ronsmans

Thanks for your quick answer!
For now Atlassian still calls it Insight in the cloud sites :) I'm curious when they will change it to Assets...
This link is really helpful although still a bit complicated. I think it's time to write a library/plugin around it and make it available to the community. 

Dirk Ronsmans
Community Champion
July 18, 2022

Oh very much.. I know @PD Sheehan created one for Server/DC so who knows if he ever moves to Cloud he'll do the same :D 

I do feel the REST API is already a lot clearer/easier than how it was on Server/DC but yeah, still could use some work to make it more user friendly :)

PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2022

Sorry gents, I do not expect to move to Cloud any time soon.

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