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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,546
Community Members
 
Community Events
185
Community Groups

Linking a JSM ticket to an Asset Object automatically using Jira Automation

I am using JSM to create a ticket whenever an assets service date is approaching using Jira Automation. It all works fine and a ticket is created and the relevant manager is being notified as well.

The issue is that I am unable to link the newly created JSM ticket to the Assets Object field automatically. I can do it manually by typing in the assets name within the JSM ticket itself. I I have tried adding the Assets Object Field using the syntax below:

Asset Object Field.PNG

 

I get this error message on execution of the automation rule:

Error message.PNG

 

I am not sure if I am using the incorrect syntax for this or if linking assets object to a JSM issue is not possible through automation. I also tried using {{Object.URL}} but it doesn't create the link btw the object and the JSM ticket.

1 answer

1 accepted

2 votes
Answer accepted
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 14, 2023

Hi @Athar Mushtaq ,

Would you please share the whole automation rule? I think object key should work instead of Name. Thank you.

@Hana Kučerová  I tried {{Object.Key}} and get this error:

Error - Object.key.PNG

Please see the whole automation rule:

Automation Rule.PNG

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 14, 2023

@Athar Mushtaq Thank you.

Please try:

key = {{object.key}}

Thank you Hana. This worked :) 

Suggest an answer

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

Atlassian Community Events