How to create custom field for old tickets?

Senthilkumar August 17, 2018

I have created a new custom field for my Story and it fine, but those new fields is showing up only for the new tickets and NOT showing up for the old tickets which created already. 

Is there anyway we can add this field to the old tickets as well? 

1 answer

0 votes
Alexey Matveev
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.
August 17, 2018

Hello,

A custom field is not shown on the view issue screen, if this custom field does not have a value for this field. You should initialize this field for old tickets. If you want to initialize this field with the same value for all tickets, then you can choose all tickets, where this custom field is empty with a JQL query like this:

youcustomfield is empty

And then bulk edit this selected issues to set them a value.

Senthilkumar August 18, 2018

Thanks a lot, Alexey,

I am sorry I am new to this and I am not able to get your point. Is there any link where i can find the details.?

Alexey Matveev
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.
August 18, 2018

You should go to the Advanced mode for JQL search and type :

youcustomfield is empty

You will see all issues, where your custom field is empty.

You can read more about Advanced search here:

Cloud:

https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-764478330.html

Then you can use the Bulk Edit feature to set a value for your custom field for selected issue:

Cloud:

https://confluence.atlassian.com/jiracorecloud/editing-multiple-issues-at-the-same-time-902498099.html

Server:

https://confluence.atlassian.com/jiracoreserver073/editing-multiple-issues-at-the-same-time-861257342.html

Nafiseh Mehdipour September 23, 2022

Hello,

The proposed solution is for when we want to fixed values for the new custom field.

But, if the filed needs to be calculated by JSM, like the last comment date, this will not work and as we can see this is only calculated for the new tickets.

Would you please add if there is a way to trigger the calculation of the new field by JSM also for the older ticket?

Suggest an answer

Log in or Sign up to answer