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

Link last Created Asset

Negjat Jusaj November 20, 2024

 

Hello community,

After trying unsuccessfully for several hours to solve my problem, I'm turning to you :-) The following use case: I want to link the last created asset object to a process, this is how I proceeded:

1. Created the "Service" asset field and made it available in the screen mask

2. Created an automation: - Searched for the last created asset object using a lookup (order by Created DESC)

- Tried to insert this in the ticket (Service asset field) using the following variations:

- {{lookupObjects.first.objectid}}

- {{lookupObjects.first}}

- {{lookupObjects.first.Name}}

- {{lookupObjects.first.Id}}

None of this works, I just get the message "Bad Request". Do you have any idea what I'm doing wrong?

1 answer

0 votes
Atlass Monster
Banned
January 4, 2025

Can you share more of your Automation structure? 

Have you tried log the data contained as a whole? Like that I assume {{#lookupObjects}} ?

If the above doesn't return anything perhaps is assets permission related problem: https://support.atlassian.com/jira-service-management-cloud/docs/what-are-roles/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events