[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

This widget could not be displayed.
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.
This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

52 views 1 0
Join discussion

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