Forums

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

Unable to set automation that sets a custom field on change of another field

Lamija Pasalic
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!
July 18, 2025

Have a custom field called Duration. Want to define it as difference between Project start and Project target (also custom fields, date). 

 

Edit work item07/18/2025, 10:38:22
Edited work item successfully, however some of the set fields aren't available. Fields ignored:
Duration is a field of type number. Let's ignore for a moment the formula I want to set, even if I try to set it to lets say a value of 5, I always get the above error message. I get it for every other field I may want to edit via automation. The field is visible in all views, also the quick edit idea view. 

3 answers

1 accepted

0 votes
Answer accepted
Jet
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 19, 2025

Hi,

Hope that one of these solutions works for you. If not, I recommend to raise a support ticket via support.atlassian.com.

Kind regards,

Jet

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.
July 19, 2025

Hi @Jet 

I notice for multiple questions, you are accepting solutions (including your generic post above) rather than letting the original poster interact with the community.  Indeed, their question was only posted yesterday!  Please allow the original poster to respond to decide if their question has been answered.

Kind regards,
Bill

1 vote
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.
July 18, 2025

Hi @Lamija Pasalic -- Welcome to the Atlassian Community!

For a question like this, context is important for the community to help.  Please post the following:

  • what version of Jira are you using: Cloud, Server, or Data Center
  • for Cloud, what type of project is this: company-managed, team-managed, JPD, etc.
  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution

 

Thanks, and kind regards,
Bill

0 votes
Yogesh Mude
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.
July 18, 2025

@Lamija Pasalic Welcome to the Community!

As both Project start and target are date fields so i thnk you need to use CompateTo function to compare the dates in between these two fields and it will return the number, which you can set to the Duration field.

https://confluence.atlassian.com/automation/jira-smart-values-date-and-time-993924864.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events