Copy from text field to date field

Hello,

I need to copy value from Select list field to Date field. Select list has values like "some_text (06-Dec-2014)". I need to do it in post function

My JIRA version is 4.4.4

Thanks,

Vital

3 answers

Update on Transition for JIRA has Update issues post function. You will need use the findReplace substitution variable to get the date text out of the string. That can also be used to make sure the date gets specified in the correct format expected by JIRA for setting the date field. 

0 votes

Hello Vital,

You can use the post-function named "Copy Value From Other Field" from the JIRA Suite Utilities plugin. smile

-- Arthur Gonçalves

Sorry, but I can't copy text value (I have unnecessary text "some_text (06-Dec-2014)" other than the date) to date field.

0 votes

You can't copy, the data structures are not the same, but that's not a big hurdle, you can parse it.

What are you planning to write this function in?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

41 views 0 2
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