Forums

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

Is it possible to have the population of one field automatically trigger the population of another?

Adam Fishlock November 5, 2020

I am looking to track how long it takes issues to get resolved once they are assigned.

I know that the assigned date is tracked in the history tab of each issue but, as far as a I know, there is no way to report on that.

I have created an Assigned Date field and I am looking for a way to get this field populated with the current date and time when an issue is assigned to someone.

Is this possible and how do you do it?

2 answers

1 vote
Guilhem Dupuy
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.
November 5, 2020

Hello Adam,

You can do that using an Automation rule :

  1. Trigger your rule using the trigger "Field value changed", for the field assignee
  2. Create a "New Action" of type "Edit issue"
  3. Select your "Assigned Date" field, and assign it the current time using the Smart Value {{now}}

Capture d’écran 2020-11-05 à 14.30.19.png

Let me know if it helped,

Guilhem

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.
November 5, 2020

Hi @Adam Fishlock 

Yes, and... what @Guilhem Dupuy suggests... To find the resolution-once-assigned-time you would subtract the two date/time values: your AssignedDate and Resolved.

If you wanted to keep that value in Jira, say for searches, you could add another custom field (number type) and use another automation rule to subtract the two values.  This would be the value in hours:

{{#=}}{{issue.AssignedDate.diff(issue.Resolved).hours}}{{/}}

Best regards,

Bill

Adam Fishlock November 6, 2020

Hi, @Guilhem Dupuy and @Bill Sheboy 

Thanks for your answers. What version of Jira did Automation rules come in? I can't find where this is in order to try what you have suggested so my suspicion is that our version of Jira Server hasn't got it....

Appreciate your help and advice,

Adam

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.
November 6, 2020

Hi, Adam.  

The lite-version for Server is free and the full-version costs money.  Both are available on the marketplace.

__Bill

Like Adam Fishlock likes this
1 vote
Alexander Pappert
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.
November 5, 2020

Suggest an answer

Log in or Sign up to answer