Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating match codes based on name of employee

Deleted user October 19, 2022

Hello everyone,

I have a question please I want to create match codes automatically for the employees based on their name for example 

 this will form the Matchcode. For example, for John Doe match code is - JD also

Check the existing Matchcode list, if the same match code exists, add the number incrementally. So if GP is existing, add “1“ to the new match code, thus - JD1

1 answer

1 accepted

0 votes
Answer accepted
Sayed Bares _ServiceRocket_
Community Champion
October 19, 2022

Hi Ravyar,

You will need to write your own script to  make this work. Ideally, a script which extracts the first character from the first name and then second character from the last name and then use an incremental function based on a set of already created entries.

Further, you can write these codes in that Jira specific user property entry using the following REST API:

I hope it helps.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events