Forums

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

Automation to copy From Custom field single select to Assets field on create

linkyard Team Account February 2, 2024

Hi,

I am trying to create an automation rule for Jira Software Cloud project where we copy a value from Single select custom field to Assets field when we create a new issue. 

Please see the screenshot for automation rule

Screenshot 2024-02-02 at 11.58.36.png

but basically I add trigger: Create issue, Then: Edit Issues, I choose the Assets field to edit (Control) and then add this line to set the field: objecttype= Name AND Name Like {{issue.fields.customfield_10362}} 

 

This automation rule gives me an error when I try to create an issue. 

The Assets objecttype I chose Name, is this correct? Screenshot 2024-02-02 at 12.03.55.png

 

Custom field and Assets fields both exist on create and view/edit screens. Also custom field ID is correct. 

Screenshot 2024-02-02 at 12.05.11.png

1 answer

0 votes
Jeroen Poismans
Community Champion
February 2, 2024

Hi there,

I think the problem is indeed in the objectType = Name part. Can you show the config of the Control field (the asset field)? What typeof objecs is this field pointing to? That is what should be instead of Name:

objectType = XXX and Name Like "YYY"

Where XXX is the objecttype of the Assets the Control field is showing for that field context.

Jeroen

Suggest an answer

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

Atlassian Community Events