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

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

Athar Mushtaq May 13, 2023

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.

Athar Mushtaq May 14, 2023

@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}}
Like mgokhan likes this
Athar Mushtaq May 14, 2023

Thank you Hana. This worked :) 

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