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

Copy Jira Custom Field "Team" to Another Custom Filed Using JWT Calculated Text Field

A customer wishes to copy the Jira default Custom Field "Team" to another Custom Field.  I figured this would be easy and use Calculated Test Filed (by JWT).  I entered the following for the calculation::

"Team is %{10202}" where 10202 is the "Team" field

Well this gives me back an integer index versus the actual string Team field. 

So instead of seeing "Team is Test Team", I am seeing "Team is 624"

Is there a way to take this index and convert it to the right Team string?  I assume its stored in array?

1 answer

1 accepted

2 votes
Answer accepted

Hi @Robert W_ Olsen

Unfortunately we don't offer that type of support for that field. However, in our next release, which is coming pretty soon, we are adding support to the Advanced Roadmaps' fields and you will be able to easily copy it!

In the meantime, if the count of teams is not too big, you can use as a workaround our function getMatchingValue() to copy it just like this:

getMatchingValue(%{10202}, ["1", "2"], ["NameTeam1", "NameTeam2"])

In the second parameter you should write all of your Team's IDs, and then in the third parameter you should write all of their names in the same order, so the function will read the Team's value and it will return its name.

Cheers,

Sergio.

Thank you Sergio, I will let the customer know and see if they can give me the list of Team names so we can proceed with your recommendation.  Appreciate the time!

Like Max Foerster - K15t likes this

Hey Sergio,

It's been over a year since you mentioned new release, which should supposedly ease the use of the "Team" field. Had it ever happened? Thank you.

Like Robert W_ Olsen likes this

Suggest an answer

Log in or Sign up to answer