Forums

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

How to use custom fields when "editing work item" in automation

Jackie Bilog May 7, 2025

Hello,

Before the recent update, I remember I could reference custom fields in the "edit field value" condition.

Now that we are using "edit work item" instead, I cannot reference custom fields by either selection or smart values. Can someone advise?

1 answer

1 accepted

2 votes
Answer accepted
John Funk
Community Champion
May 7, 2025

Hi Jackie,

There has been no change in that functionality despite the new name. Can you share some screen shots and describe what you are trying to do? 

Jackie Bilog May 8, 2025

Thanks, John!

 

I'm trying to select the custom field "target start" so that the automation rule can update this field once "Target end" is updated.

In the attached screenshot, I am unable to search for the field in question. I vaguely recall being able to select a custom field using smart values, but that option does not appear to be available:

Screenshot 2025-05-08 at 9.57.31 AM.png

Thanks again!

 

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 8, 2025

Hi @Jackie Bilog 

Adding to the suggestions from @John Funk ...

The advanced planning / roadmap fields are not listed in the dropdown lists for many rule actions.  Instead, they must be set using a JSON expression.

For example, in the Edit Work Item action select "More options", entering the JSON.  This would set the value to the current date:

{
"fields": {
"customfield_12345": "{{now.jiraDate}}"
}
}

You will need to identify the custom field ID for your specific fields.  Please use this how-to article to do that: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

 

Kind regards,
Bill

Like John Funk likes this
John Funk
Community Champion
May 12, 2025

Hey @Jackie Bilog  - Any update?

Jackie Bilog May 13, 2025

Thanks, John! Apologies for the delayed response.

The JSON works beautifully!

Like # people like this
John Funk
Community Champion
May 14, 2025

Great to hear! And you are welcome. 

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