Custom Fields based on Customer Organisation

Olivier August 28, 2018

Hello,

When I create a servicedesk ticket I would like to copy a part of the organisations field in a label.

When I copy the organisations field in a comment I have this : {id='3', name='123456 - TEST ITinSell'}

I would like to take '123456' and to add it in label field. I tried a lot of things without sucess...I can not split the organisations field...

 

Is it possible ?

2 answers

1 accepted

0 votes
Answer accepted
Olivier August 28, 2018

Hello Nick

Thanks a lot, it works !

Regards,

Olivier

1 vote
Nick Menere
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.
August 28, 2018

Hi Oliver,

 

Are you able it using the More Fields option with the following value:

{
"update": {
"labels": [
{
"add": "{{Customer Organisation.name.substringBefore(" - ")}}"
}
]
}
}

It should look like this:

Screen Shot 2018-08-29 at 10.58.01 am.png

Let us know how you go.

 

Cheers,

Nick [Automation for Jira]
Co-Founder

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events