Forums

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

How do I delete issues with a specific subject/summary as soon as they are created?

Chris Michetti January 5, 2019

I get a lot of e-mail from one automated account at my company and some of the items need to become tickets and some don't.  The difference is simply the subject line of the e-mail that hits Jira.  How can I filter these items out and remove these tickets automatically?

 

Thanks in advance - I've googled a lot on this and can't find a good answer... maybe there isn't one!  But it is something that every other helpdesk I've ever used can do so I hope I"m just overlooking something.

2 answers

1 accepted

1 vote
Answer accepted
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.
January 6, 2019

Hello,

You could also use the Power Scripts add-on:

https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview

You could create the SIL post function with a code like this:

if (summary == "your keyword") {

  deleteIssue(key);

}
Chris Michetti January 6, 2019

I will try this one out.  Thank you!

1 vote
Bastian Stehmann
Community Champion
January 5, 2019

Hi @Chris Michetti,

Welcome to the community. 

If you are using Jira Service Desk, an automation might do for you.

If not, you will need an add-on like automation for Jira or Script Runner, where you can do this.

Chris Michetti January 6, 2019

The built-in automation doesn't seem to want to work based on the summary or even the reporter (email address).  The automation rule looks like it would be perfect but it does nothing.  The tickets still get generated no matter what.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events