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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Customfields ID used and change from server to another (huge work to change all codes)

Hello

I'm using JIRA since 2013 and hope that one day we can use something else than customfield ID for scripts.

Let me explain.

If you use customfield names, it works only if you use one language ! script test current user language.

So you have to use customfield ID. It is ok if you always work on same production server.

I try to use also Configuration Manager because we have dev/indus/prod servers.

Sometime you have to move an application to another server. And rewriting all code is a mess.

My last application used more than 80 scripts and 75 customfields are involved.

I'm not sure that Atlassian has an answer to that and I'm afraid about the promises future.

If someone smarter than me have a solution...

Thx

 

1 answer

0 votes

There is no logical way around this.  You can't translate from system to system and preserve field keys because the ids have to be unique. 

The only logical way to avoid having to edit the scripts for the object ids would be to have an arbitrary global id scheme something like "a hash built from the date, time, and licence key at the time the object was created".  You having to amend scripts for migration is a trivial task compared with rewriting the entirity of Jira.

Thank Nic, i was prepared for this confirmation. I'll change my script one by one.

Maybe solution could come from Atlassian by dissocied customfield Name from Translated value.

For sample I use UK language to identify my fields (with trigramm code) and ask users to use only US language.

APPLI-Title (UK) / Title (US) / Titre (FR) etc...

Thanks again

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7136
TAGS

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