How to compare {{userInputs}} with the selected input value in confluence automation

Pavani Chintakrindi February 7, 2024

I have to compare the input which is selected with the specific and create the jira issue accordingly.000102.jpg000101.jpg000100.jpg000099.jpg

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
February 7, 2024

Hi @Pavani Chintakrindi 

There should only be one set of double-curly brackets around the smart values in an expression.  And it appears in your Manual Trigger's user inputs that you entered a variable name of:

{{SystemNamenumber}}

When naming a variable, do not include the double-curly brackets.  Instead use just the name:

SystemNamenumber

Later in the rule, when using the smart value, it is referred to as this:

{{userInputs.SystemNamenumber}}

 

Kind regards,
Bill

Pavani Chintakrindi February 13, 2024

Thanks alot it's working now.

Like Bill Sheboy likes this
Bill Sheboy
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.
February 13, 2024

Awesome; I am glad to learn it is working.

Please consider marking this question as "answered".  That will help others with a similar need find solutions faster in the future.  Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events