Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

In automation, how to link work item using Asset field value

Julie Beltz May 18, 2025

I have a request type where they select a Project from a custom Asset Field.  It pulls over multiple fields including a Project Issue Key.   In automation run on create, I want to link my new request to the issue identified by my "Project Issue Key" field value.    

Whether setting the Linked Issues field or using component Link Work Item, my only choices are Trigger work item and Most recently created work Item.   Any suggestions on how to accomplish this?

2 answers

0 votes
Joseph Chung Yin
Community Champion
May 18, 2025

@Julie Beltz -

Excellent... Here are a reference links that you may want to explore further as related to Smart Values

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Hope this also helps you in the future.

Best, Joseph Chung Yin

0 votes
Julie Beltz May 18, 2025

Found my own answer but I'm not able to delete my question.   What I found is I can paste code over the words "Trigger work item" even though it isn't clear you can do that.   I used code {{customfield_12589.Project Issue Key}}  which referenced my Assets custom field and the attribute that stored the key.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 18, 2025

Hi @Julie Beltz 

Well done, and...you may select your own post as the answer to the question.

And the rule editor is not great at indicating when a smart value may be typed into a field versus only using the dropdown.  Instead one needs to just try it.

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events