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 vote

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 vote

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

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

131 views 5 9
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