userInputs was removed from Smart Value fields?
Asked by John:

This was working fine and is now broken. Using Cloud version.

The problem seems to be the user input variable. More specifically:

(1) We have a Manual Trigger rule that requests user input for variable NewTitle

(2) Next step copies the current page to a new space and new page, and sets the title from the smart value {{userInputs:NewTitle}}

This stopped working and now we can't find the answer for making user inputs function on the following step. The userInputs does not seem to be available as an option now, it's just gone from the menus. If it was renamed we can't find it.

What changed? Is there a new way to do this?


Answers:
author: John
body: And it seems to be working again magically after several weeks of downtime. Not sure what changed or where but it wasn't my script.

I can confirm it works now AND the userInputs.variable does NOT show up in the search documentation. So the lack of documentation was a red herring (misleading).

So really nothing to go on in order to make any conclusion, Other than it seems the feature is valid at this time.


author: Bill Sheboy
body: Hi [@John](/t5/user/viewprofilepage/user-id/4530911)

For a question like this, please post an image of your **complete automation rule** , images of any relevant actions / conditions / branches, an image of the **audit log details** showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!

Until we see those...

I see you also posted a question about this topic here: <https://community.atlassian.com/t5/Automation-articles/Request-input-from-users-when-a-Manual-rule-is-triggered/bc-p/2738281#M1701> Perhaps continue with this thread to focus the suggestions.

Once you post your rule, actions, and audit log details we can help track down the symptom and possible causes.

Kind regards,  
Bill

comments: author: John
body: Thanks... I get it. I can share but it's not troubleshooting the automation sequence or coding.

Sorry, I posted the broader question to the other thread as it related to the specific feature.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/332229i49957D6304D27E28/image-size/large?v=v2&px=999 "image.png")

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/332230i81517ECD11D4DEFE/image-size/large?v=v2&px=999 "image.png")

... that Title smart tag was there before and working.   
If I click on the {} button we don't see any support for userInputs now:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/332231i64950C8255CDB055/image-size/large?v=v2&px=999 "image.png")

When triggered, it asks me for the input as expected.

The next response is this. No audit log entry is made.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/332234i0E365A69C2B78F16/image-size/large?v=v2&px=999 "image.png")


author: John
body: I'm relatively new to writing automation rules here in Jira/Confluence... so if I'm doing something dumb here, let me know. But I thought I'd avoided stupid user tricks because this ran 100 times successfully before failing and when I tried to recreate a new rule for testing I discovered the userinput is still valid on the first task but not the second.


author: Bill Sheboy
body: No worries; we are all learning new things all the time.

That lookup for smart values with **{_}** is a relatively new automation editor feature, and certainly does not list all possible smart values. It even has typos for some of them.

And my understanding is *it is not dynamic*; it is static and based on another version of the documentation. That is, it is unlikely to show the names of the fields you added to the Manual Trigger for user inputs for a specific rule.

Back to the rule's audit log, please post an image showing the details under "Show more" for when you tried to execute the rule.

I did see an open defect for intermittent problems with the Copy Page action when some third-party, marketplace Confluence addons are used. Do you have any of those installed? (Your Jira site admin will know this.)


author: John
body: Ok, I was not expecting it to show my user input variable per se. Just surprised that the basic userInputs command wasn't listed, because I thought it was previously. I thought I had seen {userInputs.variable}.

There is NO AUDIT LOG RESULT. The audit log shows previous Success results and then nothing, there is no 10 Fail results in the log.


author: Bill Sheboy
body: If there is no audit log entry, the rule did not trigger and run...making it challenging to diagnose this further.

I recommend working with your Jira Site Admin to submit a ticket to Atlassian Support. They may see something we are missing. <https://support.atlassian.com/contact/#/>

When you hear back from them, please post what you learn to benefit the community. Thanks!


author: Rick Westbrock
body: I thought the syntax for the user input value uses a dot instead of a colon i.e. **{{userInputs.NewTitle}}**

comments: author: John
body: That may be a typo... Whatever the format is, we don't see userInputs in the menu now at all.


author: John
body: When we use { } smart tags and search for 'user' it has 5 results   
{{user.accountId}}

{{user.emailAddress}}

{{user.fullName}}

{{user.publicName}}

{{user.timeZone}}

No **{{userInputs.variable}}**

and search for 'input' and zero matches.  


author: John
body: We didn't change anything. The automation was tested and running fine for weeks. It simply does not run now when manually triggered. It only has 3 steps so it wasn't hard to find the issue.

Take out the **{{userInputs.NewTitle}}**and it works again.


Tags: cloud

questions-for-confluence

questions-for-confluence-cloud