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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get value of the Insight attribute by its ID for Jira Automation

I am setting an automation to calculate the value of one Insight attribute depending on values of two other attributes of an Insight object. I can get the values without a problem using the name of the attribute, like {{issue.fields.customfield_10166."Budget planned"}}

The problem is that I renamed the Insight attribute and the system does not get the value by the new name (nor by the previous one), which in my opinion is a bug. The attributes which were not renamed work fine.

Now I know the attribute Id is 254, but I don´t know the syntax for it in smart values. For JSON I found objectTypeAttributeId ==264, which is nor working with smart values.

Could you help me to find an expression to get the attribute value by its ID not by its name?

Thank you in advance!

1 answer

Yes, Insight objects in smart values are a little tricky to work with. I've done a deep dive for another purpose and using some pretty sophisticated Smart Values expressions, this is actually possible.



I hope these new features get documented soon.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

98 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you