How to list out the "First Resolved Date/Time" if we updated the ticket "Resolution" field more than once?

How to list out the "First Resolved Date/Time" if we updated the ticket "Resolution" field twice or more?

(e.g. Ticket A: 1st updated to "Resolution = Invalid", 2nd updated to "Resolution = Fixed". How do we get the "Resolved" Date/Time for the time we updated the "Resolution = Invalid" for Ticket A?)

3 answers

Hi,

We use the JIRA suite utilities that gives a bunch of post function, validators etc.

What you do is create 2 custom fields named : First resolved date (date format) and First cycle (button radio) with 2 value: yes and no.

The custom field name "First resolved date" will only go on the Display screen (never on the modify or create). The second field "First cycle" does'nt need to be display at all but you can if you want. BUT never on the modify ou create screen.

With your workflow, on Create you have to put a post-function for "First cycle" to the value "no"

You put 2 transitions for Resolve issue. One with the Condition if the field "First cycle" = "no" and another one if "First cycle" = "yes".

If "First cycle" = "no", you put 2 Post-functions: one where "First cycle" will get the value "yes" and one where the Field "First resolved date" will take the value from the Update. Beware, the second one must be place AFTER the modification to history.

Voilà, you will be able to have a field with the real value of the first time someone resolve the issue.

https://studio.plugins.atlassian.com/wiki/display/JSUTIL/JIRA+Suite+Utilities+Workflow+Post-Functions

Thanks RedHair,

From your suggestions, appreciates if you could guide me further on below:

1. Add Condition To Transition (e.g. which selection of 'Conditions' should I select and ...etc)

- You put 2 transitions for Resolve issue. One with the Condition if the field "First cycle" = "no" and another one if "First cycle" = "yes"

2. Add Post Function To Transition (e.g. which selection of 'Post Functions' should I select and ...etc)

- If "First cycle" = "no", you put 2 Post-functions: one where "First cycle" will get the value "yes" and one where the Field "First resolved date" will take the value from the Update. Beware, the second one must be place AFTER the modification to history.

Thanks.

1.The Condition for the transition should be:

Value Field (It allows to only execute the transition if the given value of the field is equal to a specified value)

2. The Post functions for the transition should be:

Update Issue Custom Field (Updates an issue custom field to a given value.) for the yes and no value

Copy Value From Field to Field for the date field that will take the value from the Update

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

178 views 1 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you