You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Using ScriptRunner in for Confluence 8.0.2 Data Center.
I finally found the class to disable Autocomplete for a user in their user settings, at least I'm pretty sure that's what it's for.
com.atlassian.confluence.pageobjects.page.user.EditUserEditorSettingsPage
And, of course, it's deprecated. :(
It says:
Use
EditUserEditorSettingsPage
instead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.
Of course, "the new README" goes to a link I can't access. I'm guessing internal Atlassian or just broken link.
Nothing under com.atlassian.confluence.webdriver.pageobjects looks remotely usable unless I'm looking in the wrong place.
Anyone have any ideas how to disable Autocomplete for a user now?
Although I had to dig deep for this one, I think this is the new class:
com.atlassian.confluence.webdriver.pageobjects.page.user.EditUserEditorSettingsPage
It is not deprecated and neither is its disableAutoComplete() method, but it also has not apparent way to associate the method with a specific user.
And it's not recognized by ScriptRunner. <sigh>
I'm working on a critical feature that can't stop working once the other class is deleted, whenever that may be. Using the old class is not really an option for me.
And neither the deprecated nor the new class is recognized by ScriptRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @WW
Can you try this in your ScriptRunner :
import com.atlassian.confluence.pageobjects.page.user.EditUserEditorSettingsPage
def userKey = "userKey"
def editUserEditorSettingsPage = EditUserEditorSettingsPage.to(userKey)
editUserEditorSettingsPage.disableAutocomplete()
Dont forget to replace the "userKey"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Oday Rafeh ,
I understand how to use EditUserEditorSettingsPage, which is deprecated.
What I was asking was how to use the replacement code, which is here: com.atlassian.confluence.webdriver.pageobjects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.