Como automatizar preenchimento de data inicial da issue + hora e data de finaliza??o da issue + hora
Asked by Renata Ribeiro:

Como automatizar preenchimento de data inicial da issue + hora e data de finaliza??o da issue + hora?


Answers:
author: Ste Wright
body: Hi [@Renata Ribeiro](/t5/user/viewprofilepage/user-id/5115711)

Can I confirm what you're looking to do? Are you looking to automate...

* Creation of an Issue? OR...
* Populate start/end date - based on some logic? OR...
* Something else?

More detail would be useful here - and If this is in Server/DC or Cloud would also be useful to know.

You can certainly automate this type of information using [Automation for Jira](https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/) - but if you would like more specific information about how to setup the rule though, let us know specifically what it should do!

Ste

---

And in Portuguese, according to Google Translate...

Posso confirmar o que voc? pretende fazer? Quer automatizar...

* Cria??o de um bilhete ? OU...
* Preencher data de in?cio/t?rmino - com base em alguma l?gica? OU...
* Algo mais?

Mais detalhes seriam ?teis aqui - e se isso estiver no servidor/DC ou na nuvem tamb?m seria ?til saber.

Certamente, voc? pode automatizar esse tipo de informa??o usando o [Automation for Jira](https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/) - mas, se desejar informa??es mais espec?ficas sobre como configurar a regra, informe-nos especificamente o que ela deve fazer!

comments: author: Renata Ribeiro
body: Ol? Stephen!

Eu gostaria que o jira trouxesse a data e a hora real nas issue type (Exemplo: epics e tasks), automaticamente, sem que o desenvolvedor precise preencher a informa??o, a cada altera??o de status ou pelo menos quando inicia o desenvolvimento e quando de fato finaliza.

Obrigado pela aten??o e pelo apoio!


author: Ste Wright
body: Hi [@Renata Ribeiro](/t5/user/viewprofilepage/user-id/5115711)

You can do this via Automation - for example, you might:

* Create a custom Date Picker field - to capture the date development starts (eg. Development Start Date)

Then the rule might look like:

* **Trigger:** Issue Transitioned
  * To Status = In Progress - *assuming this was the first Status for development starting*
* **Condition:** Issue Fields Condition
  * Field = Issue Type
  * Condition = equals
  * Value = Story
* **Action:** Edit Issue
  * Field = Development Start Date
    * Value = {{now}}

---

A few notes...

* The **Condition**might not be relevant if the rule does not differ between Issue Types
* You could have additional Date Picker fields, and additional rules to populate them
* If preferred, you could use a Date/Time Picker custom field, to capture both the date and the exact time also
* The **{{now}}** value populates the field with the current date and/or date/time. To see what else is possible when setting date fields, view [this help page](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/)

---

Let us know your thoughts!

If you'd like more detail to help build a specific version of this rule, provide us the exact parameters you need to include so we can assist further :)

Just to note, I did try to translate this back to Portuguese (using Google Translate), but it didn't make as much sense this time - I hope that is alright!

Ste


author: Renata Ribeiro
body: Hi [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470)

Your answer helped a lot, even more so as I'm learning to work with Jira's configurations as the tool's Administrator. What I want is to have a time dimension of the total time teams invest to complete a task, story or epic.

Your answer made perfect sense, thanks again!


author: Ste Wright
body: No worries :)

If this answer helped, could you accept it? That helps others who might find this question in future know this answer can help them too!

Ste