[JIRA] Remove issue after transition

Hello all,

 

I want to remove isue after a unique transition. I see in the post function configuration but no option existing here.

 

For your information, Spam sent to our mailbox create issue and we want to remove these with a simple transition, my users have delete rights on this project.

 

Do you know a JQL script permit this ?

 

Have you an idea about this case ?

 

Thanks for your help,

 

Geoffroy

2 answers

1 vote
Alex Christensen Community Champion Jan 10, 2018

Are you using the default Jira mail handler to create new issues via email? You might be better off creating some sort of rule in the mailbox to prevent that spam from making it into that email's inbox, which would prevent the issue being created in Jira in the first place.

Also, you shouldn't need a separate transition just to delete an issue. If a user has delete permissions on a project, there are a couple options available:

  • Open the issue, go to More > Delete.
  • If you want to delete in bulk from the issue navigator, go to Tools in the upper-right corner and choose the option to bulk change the issues in the current result. There should be an option to delete when going through the steps for bulk changes.

Thanks for your response,

 

I did a mistake on my last comment, jira users don't have permission to delete issue. With transition, we want to give a friendly usage to remove issue without give permission to delete issue.

 

About the rules for spam, we already have configuration about this.

 

It is possible or do you must use "delete" feature.

 

Geoffroy

Alex Christensen Community Champion Jan 10, 2018

Even if this is possible using a script post-function, I wouldn't give anyone the ability to delete if you don't want them to have permission to do that in first place. Personally, I'd stick with the Delete feature just for auditing purposes.

Regardless, I've not done this before, but this post might help you in the right direction.

Thanks again for your help,

 

I will see this post and I will give you a feedback.

Hello all,

 

I don't understand this script and many functions used doesn't exist on the version 7.6.

 

Have you another idea about this case ?

 

Thanks for your reply,

 

Regards

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 3 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

59 views 4 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you