Forums

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

How to refer to an Insight attribute for a custom field

Ste404
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 28, 2022

Hi all

One of the attributes stored against 'People' in Insight is "Cloud Software".  Basically it is just a multi value field that all licensed cloud software is assigned to a user.

This isn't working how I would hope as I would like someone to go in a select their software from the list based on what is assigned to them in a similar way that they can pick their hardware.  Due to me storing the software on the customer record the returned field is just one lump of software titles.

I am not sure how to set this up in Insight as I can't create a object for every license to assign to a user, i.e. I would have 300 objects for Jira licenses alone (if I had that many licenses).

What would be the best way to be able to assign software licenses to a user in insight and then in a custom field just show those items in a drop down?

Many thanks.

 

1 answer

0 votes
Juliette Lallement _Elements Apps_
Atlassian Partner
July 29, 2022

Hi @Ste404 

Let me rephrase your ask, I just want to make sure I got it right:

You want to get a list of all Cloud software licenses values from the "Cloud Software" attribute of a given "People" object and display it in a Select field. This list should be dynamic and only display all Cloud software licenses assigned to the logged-in user. Is my understanding correct?

If so, you can do just that with the third-party app Elements Connect

You simply need to create a connection to the Jira Insight API and then configure a Select list field that will dynamically fetch all of the Cloud software licenses values for a given user based on its object ID. 

An example query would look like that:

https://api.atlassian.com/jsm/insight/workspace/{workspace ID}/v1/object/{object ID}/attributes

At this stage, you would configure a display template to only display the "Cloud Software" attribute in the field.

 Then using a simple Automation rule, you can push the values selected from this field to your Insight object attribute. 

Feel free to contact me if you need to discuss your use case in greater detail or if you need assistance configuring this use case. 

PS: I am the Product Manager of Elements Connect

 

Ste404
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 29, 2022

Does this work when you are building JSM 'Forms'.  Currently there is no way to use Insight objects on Forms in JSM (the previous proforma built into JSM now).

Can you display Elements fields on 'Forms' in any manner.

Suggest an answer

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

Atlassian Community Events