Forums

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

Flashing first 6 characters into another field

Ralf Franz June 6, 2019

I have two fields, author (contains email address) the other field is an individual field and should be filled with the first 6 characters of Author.
How can I do that.

1 answer

0 votes
Scott Harwood
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2019

Hi Ralf,

You can do this using:

Trigger: Field Value Changed (author)

Action: Edit Issue

* select your individual field from fields to set

* Add in {{issue.author.abbreviate(6)}} into the field. 

 

More about our text functions here:

https://docs.automationforjira.com/working-with-issue-data/working-with-strings.html#supported-functions

Hope that helps.

Cheers,

Scott

Ralf Franz June 11, 2019

Hi Scott

thanks for your Information.

Unfortunately, it does not work properly, as I thought.
I forgot to mention that this is a picklist.
You would have to go through this list to then compare the first part. So that the correct index is selected and worn.
Example:
Field Author ralffr@myname.com, the first 6 characters are ralffr. In the list is "ralffr Ralf Franz" anthalten, match the first 6 characters. All you have to do is select the right line.

I hope you can follow me. Do you have any idea?


Cheers

Ralf

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events