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.
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:
Thank you!
Kind regards,
Bill
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):
Thanks,
Vincenzo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could use {{issue.fixVersions.first.releaseDate}}
Or use the solution @Valerie Knapp provided.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Grazie @Valerie Knapp.
Intendo la release date of the version.
Allegato a screen-shot:
Grazie,
Vincenzo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 -
Ma poi non capivo dopo cosa volevi fare con quest'info.
Facendo così riesci ad ottenere il valore che cercavi o?
A disposizione
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ciao @vincenzo_spatafora , grazie della risposta.
Ah, ok, scusami, avevo inteso male l'obbiettivo della cattura.
Se provi invece questo?
{{version.releaseDate.jiraDate()}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.