Forums

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

is there anyway that we can get first modification/update date and time in jira ticket

Omprakash Thamsetty
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.
February 3, 2022

We have a requirement to get the first modified date and time on a ticket. I see the history tab has this information. How can we capture that in the field or any report available? I have AIO report plugin in my jira 

Any advice. 

3 answers

1 accepted

0 votes
Answer accepted
Omprakash Thamsetty
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.
February 10, 2022

I figured it out with groovy script. I can manage it with JMCF custom field with following script. 

 

import com.atlassian.jira.issue.IssueManager;
import com.atlassian.jira.issue.MutableIssue;
import com.atlassian.jira.component.ComponentAccessor;


def changeHistoryManager = ComponentAccessor.getChangeHistoryManager()

if(changeHistoryManager.getAllChangeItems(issue)[0]){
def fld = changeHistoryManager.getAllChangeItems(issue)[0].field

if(fld == "Attachment"){
return changeHistoryManager.getAllChangeItems(issue)[1].created
}else {
return changeHistoryManager.getAllChangeItems(issue)[0].created
}
}
0 votes
Pramodh M
Community Champion
February 3, 2022
0 votes
Carlos Garcia Navarro
Community Champion
February 3, 2022

Hi @Omprakash Thamsetty ,

Maybe others know more about this (and I'll keep researching), but since you have the AIO reporting plugin, I'd suggest to ask them as well in case they have a report available (their support information is listed in the marketplace): https://marketplace.atlassian.com/apps/1212942/reports-and-timesheets-for-jira?hosting=server&tab=support

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.13.4
TAGS
AUG Leaders

Atlassian Community Events