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

shyaron October 22, 2012

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

0 votes
Carmen Nadeau
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 19, 2012

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

0 votes
shyaron November 4, 2012

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.

0 votes
Carmen Nadeau
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.
October 23, 2012

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

Suggest an answer

Log in or Sign up to answer