Applying post functions on CSV import

I'm trying to apply a post function when importing Jira projects from CSV. The data appear to be well-formed, and everything imports. The post functions are set on the Create transition. I've tried applying both before and after each original issue is created (these are subtasks, btw). What am I missing here?

1 answer

1 accepted

1 vote

I think what you're missing is that post-functions don't run during import. The workflow is pretty much bypassed for CSV import.

Whatever you need to run during import, I'm afraid you probably need to run it after import. What you could do is hack the workflow slightly - have a new status of "imported", which has no transitions going into it, and transitions out to where you need. Put your post functions on those transitions from "imported". Do the import and then use bulk-edit to push the new issues through the workflow, and hence post-function.

Oops, I forgot - you'll need an extra column in your CSV with the same value for every line of data - map it to the "status" field when importing, so that you don't get "new" issues, you end up with "imported" for the status of all of them.

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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

78 views 0 5
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