Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Attempting to filter based on attachment creation date

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

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
Site Admin
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

378 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you