Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation for capturing original target end date with a custom field

Hermeus November 18, 2024

Hello,

I am trying to create an automation for a date picker custom field 'Original Target End" to pull the first inputted target end date when the current 'Target End' date has been changed. So far, I have created the below but I'm getting an error that says history searches are not supported for Target End field. I am unsure how to proceed, does anyone know the correct JQL to for this request?

"Target end" is not EMPTY AND 'Target end" was updated

 

 

3 answers

1 vote
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 18, 2024

The error you get is expected, the was operator can only be used with Assignee, Fix Version, Priority, Reporter, Resolution, and Status. Instead you would have to use the {{fieldChange}} smart value in order to get the previous value of the field.

0 votes
Hermeus November 22, 2024

@Mikael Sandberg I adjust the automation to the screenshot attached. It says the automation was successful, but the date did not get adjusted in my plan. Any thoughts?

Screenshot 2024-11-22 103006.png

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 22, 2024

What does your edit issue field look like? 

Hermeus November 22, 2024

This is it. I am not able to select 'Target End Date' in the drop down to copy into the custom field 'Original Target End'.

 

Screenshot 2024-11-22 125405.png

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 22, 2024

Your edit issue field should look something like this:

Screenshot 2024-11-22 at 12.00.19 PM.png

Just replace the smart value I'm using with {{fieldChange.fromString}}

Hermeus November 22, 2024

In this case I need the automation to copy from the Target End date instead of the Due Date which is what is listed in your screenshot.

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 22, 2024

The copy is only if you are copying between different issues, you cannot use that to copy fields within the same issue. In that case you have to use smart values in order to do the copying.

0 votes
Hermeus November 18, 2024

Screenshot 2024-11-18 115412.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events