Hello, I'm trying to hide the Tempo Submit button with ScriptRunner.
When I search Tempo, Submit or Approval in the Hide what text field, I don't find anything about the Submit button.
Does someone know how to do that with ScriptRunner?
Hi @Mathis Hellensberg ,
Thanks for your answers.
Sorry, I will take all the time it need to explain what I'm trying to do from now on.
I'm trying to hide a the submit button (Soumettre période YYYY-MM-DD in French) in this page, with Script Runner or by any other method :
This is a page of the Tempo addon. Here the full screenshot and below, what the code of the button and what I tried to do :
Here the code of the button :
<button class="tuiButton tuiButton--primary" name="peridProgressButtonTimesheetSubmit">Soumettre période 2020-04-01</button>
I tried to use Script Runner Hide system or plugin UI element, but I didn't find anything about the tempo submit button in the Hide What list.
So I don't know what to do to hide that button. Do you think this is possible?
Thanks and have a nice day,
@Mathis Hellensberg Thanks for the answer.
It works while the page load, but when it's finished, the button appears again.
Maybe it can't work. If the div that contains all the code of the button (and the pannel that appears when you click) would have a name, that could be easy to hide it with CSS (maybe not, if for example a script unhide it..). But that's not the case anyway.
Just out of curiosity, how did you find the .iaRDYQ? I didn't find it anywhere...
@Mathis Hellensberg Thanks for the help.
In my instance, the classes names are tuiDropdown, tuiButtonGroup and tuiDropdown--split. When I hide the components one of these classes, it also hide the tempo button in issues. So that's a not what we need.
Anyway, thanks for the answer.
Hi community 👋, as every Monday we're bringing you a quick update on what happened in the Atlassian ecosystem last week. There were a few interesting events like for example the announcement of th...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events