Forums

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

Automation : Selecting value for custom field (asset object) using value in issue summary.

Rhys
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 15, 2023

I am trying to make automation to update a custom field type (assets objects) using data found within an issues summary.  The summary will contain a unique 5 digit ID at the end that I can pull using issue.summary.right(5) but I cant seem to then use this data to select to corresponding asset. In the asset scheme the object type is called Merchants with the attribute called merchant_id (text).  

1 answer

0 votes
Riley Venable
Community Champion
February 16, 2023
You can use the Filter Issue Scope (AQL) field to reference system fields from within the issue like “Assignee” and “Project”. For example, if you wanted to only show a list of merchants with the corresponding merchant_id, you could configure the Filter Issue Scope (AQL) field by typing objectType = “Merchants” AND "merchant_id" LIKE ${issue.summary.right(5)}.
Rhys
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2023

Thanks for the above, I tried this and it still showing all merchant_ids as options when I select the custom field option. If I added the filter issue scope AQL can I have the custom asset object field auto populate? 

AssetConfig.PNGAssetField.PNG

Suggest an answer

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

Atlassian Community Events