Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't make Insight Custom Field update Insight Object

Richard Malone September 28, 2022

Hi All,

I've been tasked with building our Asset Management schema in Insight.

I've successfully created and linked all relevant objects types etc, and importing data works great.

The next step is that we want our equipment provider to be able to enter asset information in a ticket that gets assigned to them (eg, providing equipment to new hires).

For this example, let's say i want to be able to assign an iPad to a user in an issue, and have the relevant objects updated in Insight.

iPad object name: PAD1

User object name: John Doe

I have created Insight custom fields, and linked them to the corresponding Insight objects.

However, I'm at a loss as to how to force the "assigned to" attribute PAD1 to be "John Doe" after it's entered into the custom fields on the issue screen. 

Any help would be greatly appreciated

1 answer

1 accepted

0 votes
Answer accepted
Melo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 28, 2022

Hi @Richard Malone, welcome to the community!

It seems you're going in the right direction. Regarding updating Insight attributes, I think using Automation for Jira is the best way. You can start by looking at the examples available on the Atlassian documentation

https://confluence.atlassian.com/jirakb/update-insight-object-attribute-values-using-automation-1072218921.html

I hope that help.

Cheers,

Melo

Richard Malone September 28, 2022

Unfortunately that appears to be for cloud only, but thanks!

Melo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 28, 2022
Richard Malone September 30, 2022

Thanks. I think I understand this, but I can't make it work.

 

So - I have an insight custom field called 'iPad' on the Issue, where the user will be able to search for the relevant object.

I've also added another insight custom field called "Assign Hardware To", which references my "Users" objects in Insight.

What I want to do, is get the ticket to update the iPad attribute 'Assigned To', with the value selected in 'Assign Hardware To'

I'm fine with the values to select in the post function, except for the last one...'Change Value' ... how do I reference the other custom field in this box?

Melo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 30, 2022

Hi @Richard Malone,

Yes, that makes sense. Assuming you have the attribute for the Users object on the iPad, the post functions should look something similar.

Source custom field: iPad

Insight Object type Attribute name: Assigned To (or whatever you call the attribute, it needs to be an object attribute referenced to your Users object)

Change value: ${customfield_"ID".label} (change "ID" by the CF "Assign Hardware To" Id number)

I haven't used it for a while, but that should give you an idea of the logic.

Richard Malone October 3, 2022

Thank you so much. This worked!

Like • Melo likes this
Davide Cascapera
Contributor
October 20, 2022

thank s for ur tips Melo, it was useful also for me

Like • Melo likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events