How to copy values from one custom field to another by post function during an "instant" transition?

Hi,

I have a need of copying the value of a scripted field (source) to single select cf (destination) in each workflow transition.

I've successfully used a simple post function in all workflow transitions (The Field x will take the value from y).

However I have one immediate transition which has no screen and being executed by specific condition.

This causes the following behavior: scripted custom field (source) get the proper value while the destination custom field (which is the destination which I'm trying to populate with the same value as the scripted cf) stays with the value which is relevant to the former status.

I've tried to update the single select field and get the value from the scripted field by different ways without success.

Any suggestions?

Thanks

 

1 answer

Have you tried "Copy a parsed text to a field" post-function of JIRA Workflow Toolbox add-on? You should use the following configuration:

  • Target field: your Single Select custom field.
  • Parsing mode: basic
  • Text be parsed: field code of your scripted field.

Trying to handle with our existing add-ons without adding a new one.

This one I didn't tried yet... 

Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,350 views 21 17
View question

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