Jenkins - Show "Advanced" job parameters from drop down / advanced button - jenkins

I have a Jenkins job where some parameters are optional but if they are changed they can fail the job almost instantly.
I added useful information next to each parameter, wrote "DO NOT CHANGE" next to those which are sensitive and even explained to the users to don't touch anything unless they know what they are doing. Unfortunately, that doesn't help; People are still changing values and the job fails.
Hiding the parameters completely (for example, with the use of the "Hidden Parameter plugin") is not an option because I still want to give access to the more advanced users, but keep the everyday users away.
Is there a way to hide the advanced parameters (by use of a drop down ["Basic/Advanced"] or maybe an "Advanced..." button that'll show the parameters?

Related

How to prevent changeset' submit based on current time?

I'd like to allow gerrit's submit only on specific time (day of week and hours). Can it be done?
No documention of gerrit i've found mentions this. The documentation also doesn't mention, when gerrit's submit filters / prolog scripts run (is it on page creation or when i press submit button or maybe both?). There doesn't seem to be an easy way to add / remove label on given time.

Isn't there any way to execute a post function script for free?

I'd like to perform operations like automatically update a field based on another field's value (for example if the assignee field is empty automatically assign to a default, set an hidden "due date" field based on the release-fix start date, ecc.) or write a custom validator that does validations based on a combination of values.
Every time I go searching on the jira forum I find java fragments of code, so everything seems to be possible, but it seems it is only at one condition: to buy the script runner plugin!
It seems strange to me: of course this plugin seems to be doing a lot of boilerplate for you but...what if I want to make a little more effort but still not payng for something that, in my opinion, should be free? I'm already paying the software license...isn't there another way to perform such post actions?
Try MyGroovy. It provides similar features. For tasks like execution post-functions I suppose it would fits good.

Intermediate save and readonly after termination

We have the requirement that users, after terminating the input of a form, can only see the data; only authorized users can modify the data.
For this purpose we use the following permissions and it works smoothly:
Now raised a second requirement.
The users wish the possibility to finish the input of the form in a second moment, so that they don't have to fill in the form entirely after pressing the new button, before they can push the save button.
Because some forms are large and maybe they are in a hurry to catch the bus, or maybe for some answer they have to ask someone else not contactable at the moment.
The idea was to add the save-draft button.
The first save-draft is OK; the message is "Draft saved successfully!".
But the second save complains:
It seems that the permissions don't differentiate between save and draft-save, so that also after a draft-save the form data is read-only.
Which possibilities I have to achive this two goals?
Many thanks.
The save-draft process is very much like the regular save (save-final process), except that it lets users save data even if the value of some fields is invalid. So, indeed, from the perspective of the permissions, save-final and save-draft are the same.
What you would really need is the ability for:
A process to save the stage of the form along with the data. In your case, the stage could be "work in progress" or "submitted".
The permissions to be able to depend on that stage, so you can say "users can edit their own data if the stage is work in progress, but can only view it if the stage is submitted".
You can do #1 right now using a hidden field and an xf:setvalue() action. But you can't do #2. For that, you would need the workflow feature to be implemented (see RFE #2256), which we hope to be able to complete in 2018. So, you guessed it, the good news is that this is coming, but the bad news is, at least as I write these lines, that it isn't implemented yet.

Jira Hotkeys, Is there a way to change status?

I looked through the hotkeys, and can not find a way of changing the status. This would help me out seeing my timeclock system is integrated in with the "In Progress" status ( I have it set up where if a ticket's status get's put into "In Progress" it clocks that user into that job, And when one moves from "In Progress" to something else, it clocks me out of it )
To change a tickets status without your hands leaving the keyboard, hit the period (.) key and then type the name of the status you want to transition to. Some JIRA installations or situations may require you to use (gg) instead of (.) so try that too. This will work from the search results screen, agile boards, or just about anywhere where you can select a particular issue.
Be careful to make sure the result that you select shows up under the Workflow heading just in case there are other related actions that are worded in a similar fashion to your status.

How to set Asana so emailed-in Tasks are brought to my attention when I log in, without manually searching for them each time?

I just started using Asana to manage bug fixes/feature requests from my clients, and I can't hardly believe that every single time I open it I need to manually ask it to show me unassigned tasks and assign them by hand to myself to get them to appear on the My Tasks view. Anything coming in by email (which is how I'm going to have my clients do it) is unassigned, and Asana gives me absolutely no clue when I log in if an unassigned task is waiting for me to assign it, and it will remain hidden from my to-do list (the My Tasks view) until I do.
There are existing solutions on SO for how to search to find unassigned tasks; those are not what I'm after, as those are how to do manual one-time searches, but I want Asana to tell me the things I need to know about without me either having to remember to manually ask for them every single time I log in, or risking missing something time-sensitive.
Alternatively, if it would either automagically assign mailed-in tasks to me, or let me set my "All Tasks" bookmark to be the default view as soon as I log in, either of these would suffice. I can't find any way of doing any of these things—my goal is that 100% of user-submitted tasks be brought to my attention without me having to remember to look for them (otherwise I could just stick with my dubious previous system of remembering to search my email inboxes.)
If you're using one email address to assign tasks (from a form or whatever) you can go to account settings -> from email and add your email address. That will automatically assign those tasks to you.
Here's the asana docs for it: https://asana.com/guide/help/email/email-to-asana
Otherwise, you can use Zapier (or similar service) to manage creating tasks via email for you if you'd prefer not mess around with the API.

Resources