Forums

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

Attempting to filter based on attachment creation date

NCYLC Support
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!
November 29, 2021

I have an issue where a migration occured using the addon (successfully) however we couldn't cutover for a period of approximately 2 months.

At that time, we did a csv import of all the issues that had changed since then, and found that a lot of attachments didn't sync. (they left a 58kb 'stub' that can't be read.)
I have found a solution to THAT problem (it occured because of a permissions issue on the csv import job on the source), however I need to delete all the attachments that have been added during a set period (without deleting any working attachments). 

I can filter based on whether an attachment is present, but is there a jql query to filter based on the date an attachment was uploaded?

1 answer

0 votes
Trudy Claspill
Community Champion
November 29, 2021

No, there is not a JQL function for that built into Jira.

There are third party apps you could add to your instance to extend the JQL options to support that. Two such are

JQL Search Extensions for Jira 

ref: https://jqlsearchextensions.atlassian.net/wiki/spaces/SEARCH/pages/3375124/JQL+aliases+and+functions+reference#AttachedOnDate

Adaptavist Scriptrunner 

ref: https://scriptrunner-docs.connect.adaptavist.com/jiracloud/jql-aliases.html

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events