Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Strange behavior of function Copy Value From Other Field

We are using Jira Cloud and Service Desk.

I want to store Description to custom field Original Description when a new issue is created 

I used Post Function Copy Value From Other Field

2020-04-27_18-20-29.jpg

But the result was like that:

Some Text --> Optional[Some Text]

If I tried the same Post Function with Source Field Summary, everything was OK.

Any suggestions where the problem is?

 

2 answers

1 accepted

0 votes
Answer accepted

Standard Post Function does not work with this situation, only way how to solve the problem is to use Automation.

1 vote

Hi @Jiri Bures - Welcome to the Atlassian Community!

Can you share a screenshot of exactly the value it put in there?

Here is the screenshot

2020-04-27_19-22-38.jpg

John Funk Community Leader Apr 27, 2020

Why does the Original Description look like it has a Dropdown next to it? Where was the screenshot taken? 

It is Old view of the Issue.

Original Description is defined as Text Field (multi-line) and put to this screen. The "Dropdown" is there that you can see Text in one-line or Multiline - I think it is standard Jira Old View behaviour

The whole screen:

2020-04-27_20-06-01.jpg

John Funk Community Leader Apr 27, 2020

It might be related to the name you have given it. That shouldn't effect it but Jira can do some strange things. Maybe change the custom field name to Original Desc and then try it again. 

I changed field name to Original Desc and the result is the same.

John Funk Community Leader Apr 27, 2020

And what tool are you using to do the copy?

As I mentioned in the description of this ticket (with screenshot), it is Standard Post Function Copy Value From Other Field.

John Funk Community Leader Apr 28, 2020

I would try using Automation for Jira to see if it works better for you instead of the standard Post Function. 

I can you Automation but it notifies about the change.

It seems that standard Post Function does not work and from my perspective is it bug. I use Automate

John Funk Community Leader Apr 28, 2020
  1. Go to Project Settings > Project Automation (on left-hand menu)
  2. Press Create Rule in top-right corner
  3. Select the Trigger "Issue Created" and press Save
  4. Next Select to add an Action, and choose "Edit Issue"
  5. Select the field Label
  6. Select the options icon (3-dots) - and choose "Add/remove values"
  7. Enter the value you want as a default and press Save
  8. Name your Automation and turn it on

Now when each issue is created, it will add the desired default label as long as the issue is created in that project. You might need to refresh the page after each issue creation to see it.

You can do this via global rules to apply to all projects also. You'll need to be a Jira Admin/Site Admin, then instead of going to Project Settings, go to Jira Settings (cog icon on left-hand navigation bar) > System > Automation Rules (left-hand menu).

For more on using Automation For Jira see these help pages.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

309 views 13 14
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you