Forums

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

How to show Issue resolution date on deshboard?

Mateusz Wilczyński
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2019

Hi everyone.


I need to show on the user dashboard using the "Filter Results" gadget release date for each issue. This is not the date of the resolution. Do you have any idea how it can be done?

I tried to create a new castom field (Date) in which I am calculating the release date based on the fix version on the issue, however this field is not presented properly. The instruction is provided on the dashboard ($ dateFormatterWithoutTime.format ($ value)).

customField.PNG

If we change the field type from Dates to Text data, it displays a unit that can not be sorted after it, and search results in the issue navigator.

I also tried using the listener (Event: VersionReleaseEvent) to insert the date of the solution into the custom field

listener.PNG

, but the error is logged all the time after the event:

2019-07-31 21:16: 52,169 ERROR [runner.AbstractScriptListener]: ********************************* ************************************************** **
2019-07-31 21:16: 52,169 ERROR [runner.AbstractScriptListener]: Script function failed on event: com.atlassian.jira.event.project.VersionReleaseEvent, script: com.onresolve.scriptrunner.canned.jira.workflow.postfunctions .FasttrackTransition
Assertion failed:
assert issue // issue in doScript
       |
       null
at com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.FasttrackTransition.doScript (FasttrackTransition.groovy: 106)


I do not have an idea anymore.

I really count on your help.

0 answers

Suggest an answer

Log in or Sign up to answer