Bug 682624 - JIRA import does not populate last_closed custom field
Summary: JIRA import does not populate last_closed custom field
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: devel
Hardware: Unspecified
OS: Unspecified
unspecified vote
Target Milestone: ---
Assignee: Simon Green
QA Contact:
Depends On:
Blocks: JIRABZ 694051
TreeView+ depends on / blocked
Reported: 2011-03-07 04:21 UTC by Simon Green
Modified: 2014-10-12 22:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-05-20 04:27:01 UTC

Attachments (Terms of Use)

Description Simon Green 2011-03-07 04:21:12 UTC
As discussed in https://engineering.redhat.com/rt3/Ticket/Display.html?id=81926 the import script should set the last_closed custom field. The most recent import I have done shows that this value was not set.

For example,

SELECT bug_id, cf_last_closed FROM bugs WHERE bug_status = 'CLOSED' AND bug_id IN (SELECT bug_id FROM bugs_aliases WHERE alias LIKE 'JBPAPP-%');

Will need to modify the import script to populate this field as required.

Comment 1 Simon Green 2011-03-07 23:13:35 UTC
This change has been made, and will be done on the next import. Since this custom field is mainly used for reporting, there isn't a need to do a new import just to test this.

For those wanting to test it before the next import https://import.bz-devel.eng.bne.redhat.com/ for the SOA product bugs have this field set.

  -- simon

Comment 6 Simon Green 2011-04-15 10:26:10 UTC
I'm marking is as ON_QA. I will do the testing on the next import to check that this works as expected. No need for the JBoss testers to do anything.

  -- simon

Note You need to log in before you can comment on or make changes to this bug.