Move Issue Function (or a Delete Issue Function)

I see the "Copy Issue Function" in the Post Function list and it does almost all I want. But it creates a COPY of my Issue, a clone in the target project.

I am looking for a Post Function that does a MOVE, not a clone.

Alternatively, I guess, I could use a Post Function that would delete the current Issue at the end of the transition, but I'm not sure how that could work.

I have looked at various add-ins, but can't find one that says it would do what I want.

3 answers

1 accepted

Gave up on this after realizing that it was really a bad solution for the "real" problem. The "real" problem was to be able to write a query that woujld show me the subtasks of parents that had a certain value in a field.

0 vote

Moving an issue is not a simple process. Jira needs to check the target schemes for permissions and validity of data, ask the user to deal with discrepancies and then migrate it all.

That's why you've not found a plugin to do it - it's a very complex process (unlike cloning, where there's no potential to be changing the structure of your issue). I think writing it requires a lot of coding, even the validation that there are no questions to ask users about data change/loss is quite complex, and you probably don't want to do it as a post-function either, as subverting the workflow status in a post-function usually makes a complete mess of an issue.

Maybe if you explained the requirement, we could get you close without a lot of coding.

0 vote

We've done this a lot recently: https://answers.atlassian.com/questions/150179/how-to-move-an-issue-programatically-to-a-different-project

A clone then a delete seems reasonably straightforward, although the user is going to see an "issue not found" page when the transition finishes.

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 2 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...

55 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