Confirmation Dialog When Deleting Filters & Custom JQL

Issue #418 new
Jack Timmons created an issue

Version 2.5.1. Went to go modify/add filters into the extension, ran into the same issue as #417. Finger twitched and accidentally caused me to delete my last filter, now I’m unable to see anything because my filter list is empty & I can’t add new ones. Can we get some sort of confirmation when deleting things to prevent this?

As an aside, is there some file I can manually edit to put these filters back?

Comments (4)

  1. Jack Timmons reporter

    As an answer to my aside, I found I was able to do this in my settings and get the filters to work as I expect. The ID is the only question I’d have, but I assume a GUID would work fine:

    "atlascode.jira.jqlList": [ { "enabled": true, "name": "My Issues", "query": "assignee=currentUser() and statusCategory != Done", "monitor": true, "siteId": "XXXXXXXX", "id": "8f964cb3-74bb-420b-9a94-2ea5be89b6fb" } ],

  2. Jonathan Doklovic Account Deactivated

    @Jack Timmons I’ll put a ticket on our backlog for showing a confirmation.

    As for manually adding the entry, the way you did it is fine. The id is just a random GUID. The default query we use when you first install the extension is:

    assignee = currentUser() AND resolution = Unresolved ORDER BY lastViewed DESC
    

  3. Log in to comment