Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,321
Community Members
 
Community Events
185
Community Groups

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
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 27, 2020 • edited

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events