Forums

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

Usage of variables in smart values

Peter van de Lageweg
October 13, 2023

Just wondering, for automation is it possible to use variables as input in smart values?

For example: In the description field there is text that contains the word "final", and after that word all text should be deleted.

In automation I would create it like this:

  1. When: Some trigger
  2. Then: Create variable 
    1. Variable name --> variableX
    2. Smart value  --> {{issue.description.lastIndexOf("final")}}
  3. And: Edit issue fields
    1. Choose the description field
    2. with the value --> {{issue.description.abbreviate({{variableX}})}}

 

Result is an error: Failed to get value for issue.description.abbreviate({{Signature: {{issue.description.abbreviate({{Signature}})}}

In the log I can see that in step 2 my variableX get's a numeric value, which I would expect. However this numeric value is not recognized in the smart value in step 3.

Is there something I do wrong, or is this not (yet) possible?

 

 

1 answer

1 accepted

1 vote
Answer accepted
Petr Vaníček
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 Champions.
October 22, 2018

Hi,

1) Accounts will not be moved, in the temporary instance you will see " Unknown User (mail@company.com) " So you need create them before migration on destination instance.

2) From my experience is not good idea using for this process any plugin. Yes, it will take some time and more work, but you will be sure about all of steps.

3) I don't think you will have any serious problems or issues - except more options for users and different look. ;-) Migration from server to cloud could be worst. :-)

Suggest an answer

Log in or Sign up to answer