Forums

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

How to log the release date

vincenzo_spatafora
Contributor
September 25, 2025

Dear ALL,

I would like to log the release date of a version within an automation rule.

I use the "Log Action" with the following syntax:

{{issue.fixVersions.releaseDate}}

but nothing is actually displayed.

I have tried also in this way:

{{issue.fixVersions.releaseDate.jiraDate}}

and still no value.

Is this by chance a known issue or?

I use Jira DC version 9.12.

Thanks a lot.

Kind Regards,

Vincenzo.

 

3 answers

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.
September 25, 2025

Hi @vincenzo_spatafora 

Context is important for automation rule questions.  Please post the following as they may explain why the suggestions from @Valerie Knapp and @Marc - Devoteam are not working in your rule for the Fix Version's field smart value:

  • an image of your complete rule, in one single image for continuity
  • an image of the rule action(s) where you are trying to use that smart value expression
  • an image of the audit log details showing the rule execution

Thank you!

 

Kind regards,
Bill

vincenzo_spatafora
Contributor
September 26, 2025

Hi @Bill Sheboy,

what a pleasure to read you again.

Find please below a screen-shot (either there is a genuine Jira bug or something wrong with the way "Releases" has been configured for my Jira System):

BIZARRE.PNG

Thanks,

Vincenzo.

1 vote
Marc - Devoteam
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.
September 25, 2025

Hi @vincenzo_spatafora 

You could use {{issue.fixVersions.first.releaseDate}}

Or use the solution @Valerie Knapp provided.

vincenzo_spatafora
Contributor
September 25, 2025

Hi @Marc - Devoteam,

thanks for that.

I have tried that out and NO value is logged.

I have tried also like this: {{issue.fixVersions.first.releaseDate.jiraDate}} and still nothing.

Can it be a bug?

I use Jira DC version 9.12.

Cheers, Vincenzo.

P.S.: I don't understand @Valerie Knapp suggestion and aksed to explain better.  

0 votes
Valerie Knapp
Community Champion
September 25, 2025

Hi @vincenzo_spatafora , thanks for your post. 

Couldn't you use the trigger of Version released https://confluence.atlassian.com/automation/triggers-993924804.html  and then use an action to capture the time with the {{now}}?

Would that work?

Best wishes

vincenzo_spatafora
Contributor
September 25, 2025

Hi @Valerie Knapp,

thanks for your answer.

I use the "When: Version updated" trigger.

I don't understand as how to use the {{now}}.

Can you please explain better?

Thanks,

Vincenzo.

P.S.: I can log the version name with {{version.name}} but not the release date.

Valerie Knapp
Community Champion
September 25, 2025

Hi @vincenzo_spatafora , thanks for your reply.

When you say you want to log the time, do you mean you want to store the time in the Automation log? or do you want to record the time at which the Version is updated into a custom field?

If you want to record the time when the Version is updated, (in the cloud anyway), you should be able to have the trigger of when the Version is updated and then the action would be to update the custom field with the value of {{now}} to populate the field with the moment in which the Version is updated.

Se vuoi / puoi, possiamo anche scrivere qua in italiano. Sarebbe anche utile se puoi includere degli screen della regola che stai provando di realizzare.

vincenzo_spatafora
Contributor
September 25, 2025

Grazie @Valerie Knapp.

Intendo la release date of the version.

Allegato a screen-shot:

VersionDate.PNGGrazie,

Vincenzo. 

Valerie Knapp
Community Champion
September 26, 2025

Salve @vincenzo_spatafora , scusami l'attesa a risponderti.

Ok, come forse non ti ho detto, sto lavorando in cloud che non accedo ad un'ambiente in DC.

Io sono riuscita a far funzionare questa regola -

image.png

image.png

Ma poi non capivo dopo cosa volevi fare con quest'info. 

Facendo così riesci ad ottenere il valore che cercavi o?

A disposizione

vincenzo_spatafora
Contributor
September 26, 2025

Ciao@Valerie Knapp.

Ma perche' usi {{now}}? Io cerco la data di rilascio di version.

Ed ho trovato che funziona cosi': {{version.releaseDate}}.

Saluti,

Vincenzo.  

Valerie Knapp
Community Champion
September 26, 2025

Ciao @vincenzo_spatafora , grazie della risposta.

Ah, ok, scusami, avevo inteso male l'obbiettivo della cattura.

Se provi invece questo?

{{version.releaseDate.jiraDate()}}

image.png

image.png

vincenzo_spatafora
Contributor
September 26, 2025

Si@Valerie Knapp, funziona anche cosi'.

Grazie, Vincenzo. 

Like Valerie Knapp likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events