Post script on create to set due date

I would like to set a due date on create from a post function however I can not get this to work.

The issue is created via email into the system so I tried to add a post function to set the due date to current date.

3 answers

1 accepted

There are two possible troublems:

  1. Any postfunction to modify a created issue must follow the function that creates issue (by default this is a first postfunction in a list)
  2. There are error into update issue postfunction. In this case try this to speed up development:


This is what I tried so far:

I created a post function on Create called Update parameters of the opy value from other field function for this transition.

Source filed = Created and Destination filed = Due Date Option copy with same issue.

In to post function list I have placed it from 1st in list to bottom of list and ever spot in between and it in not coping the created date into the due date.

1 Created the issue originally

2. Re-index and issue to keep indexes in sync with database

3. Fire a Issue Created event that can be processed by the listeners

4 (my post function)


Let's specify the trouble. 

  1. Does this post-function works? Try to test this post function on some transition exept creation to make sure
  2. Does this postfunction works on creation. Try to make sure for standart creation
  3. Does this postfunction works via email creation?


Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

667 views 4 15
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot