Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Is there any plugins that will prior notify(Email) administrator about plugin's License Expiry ?

Jira Automation - Regex Not Working for Deleting Attachments

adam.carter
Contributor
June 2, 2023

Hi there,

Hope somebody can help as I am struggling to get an automation to work. It's not a particularly tricky one; when an issue transitions to done, if a certain field is not empty, delete all attachments that start with the string "Data Privacy".

JiraAutomation.PNG

Automation triggers fine, if condition matches but the attachments are not deleted.

I've tried variations of the regex as I am not a regex master by any stretch but online tools suggest they would all work:

  • "^Data Privacy*"
  • "Data Privacy*"
  • Data Privacy*
  • Data*

I've output the names of the attachments in a comment using another Jira automation to try and prove that the automation is seeing the filenames as I see them:
JiraComment.PNG

I've set the rule to delete all attachments instead and that did work.

Here's the audit log of the last run:
JiraAuditLog.PNG

Any, and all, help greatly appreciated.

Many thanks

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 2, 2018

Hi Vigneshwar,

I'm not aware of any plugins for Jira or Confluence that will alert you when a plugin or Server product license is about to expire.

As a former administrator, my recommendation is to have a monthly maintenance period (for example, first Tuesday evening of the month) where you reserve a small block of time to update your plugins. While this takes place, you can also renew any licenses that are within a 90 day window of expiration. Having a monthly time where you do this ensures no maintenance agreements will lapse.

Remember that most plugins for Server will continue working even if the license is expired, so this also gives you a little wiggle room. You'll need the updated license to actually install plugin updates and to get vendor support.

As another option, you can also contact our licensing team and request to have your licenses co-termed. This means they'll all be set to expire on the same day, which makes it very easy for you to mark your calendar for "license renewal day" once a year.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer