Is this possible to store Sprint start/end date of jira story in one custom filed and show this custom field on dashboard?
Hi @Kishore D ,
techically you can do that using a calculated scripted field provided by ScriptRunner plugin.
You need to write some code that, based on issue, retrieve the associated sprint.
Please let me know if you have chance to use it and if you need help.
Fabio
Thanks Fabio! for Quick response.
Yes i need help in that area. I am not good in scripted fields. if you can help me with code it would be great!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fabio Racobaldo _Catworkx_ ,
I found below from other link and it worked. Below is for end date. similar way i am looking for sprint start date. i replace "endDate" with "startDate". But its returning as sprint started 4days ago instead of date 04/july/2022. should i do any more change to get start date. for sprint end date it works like charm.
import com.atlassian.jira.component.ComponentAccessor
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def sprint = customFieldManager.getCustomFieldObjectByName("Sprint")
//End Date
Date endDate = issue.getCustomFieldValue(sprint)?.endDate?.first()?.toDate()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.