I am using JIRA v4.4 and I want to change usernames in JIRA. But it seems that I have to install add-on to update usernames. After a search in google I found that the most people recommend to install Script Runner add-on. Up to now it is okay, but what to do next? How can I change user names with Script Runner add on now? Or is there a better way to change user names?
After some more research, I found that there are built in scripts, and in those scripts you can use Renames a user ID script. Because I had an error, those scripts were not showed up before. By giving From User ID and To user ID you can update the name. Moreover Jira team will add this feature in the next 12 months so after that don't have to use add-ons for username update operation.
Related
We have a Github organization, which is broken into teams.
I want to use Jenkins github plugin to just scan my teams folder, is this possible?
So far I can only get it to scan the whole org which has thousands of repos in it, or scan my user which also picks up other repos outside the team.
I have tried scanning for <ORG>/teams/<TEAM> but Jenkins seems to think that is a user and looks in the user api rather than org.
I know I could use a repo name filter, but currently the repos dont have a standard enough name to do that on and renaming them would be a pain as all links and clone would need updating.
Any help most appreciated.
I have a Jenkins server with multiple users that are able to create and modify Global credentials. Is there any way I can audit and see who did what with the credentials - who modified them, who added new creds, etc. Preferably, presented in nice way similar to Job Config History plugin. Thanks
I had a similar question a few days ago. You can use the Audit Trail Plugin (GitHub) to audit changes to credentials. It logs the HTTP requests that modify credentials. However, it doesn't have a "config history"-style visualisation.
(Soon, it may also be able to log what jobs access the credentials)
You can do that using the Job Configuration History Plugin.
Link should be something like:
https://your.jenkins.url/jobConfigHistory/history?name=credentials
What I noticed is that all changes are shown as if they were been done by 'System' - though they all were done by a specific user.
Recently my company has gone with Jenkins as its CI/CD solution, after trying a number of options. I'd like to disable checks from the other CI packages.
I've deleted the SSH key and web hooks from Circle CI, but it still marks the build check as "failed" on the merge requests (it's only partially implemented.)
I'd like there not to be a CircleCI check at all. How do I accomplish that?
From within CircleCI, click unfollow and then remove.
Going to a user|organisation profile Settings, then "Third-party application" can also help to remove Circle-CI.
This approach worked for me:
https://discuss.circleci.com/t/remove-projects-we-accidentally-added/27766
You create a script with your token and group name, then create a file with your repo name in it and run the script with the file as a param.
I am using Folder plugin and AD groups to control access to folder. This morning a team can't access their project anymore and later I found the AD group assignment in Assign Roles has been changed to wrong groups. Is there a way to find out which id did it? We only have a few admin ids.
Jenkins does not appear to keep an audit trail by default, as stated in this post on cloudbees.com, the folks that develop Jenkins.
The relevant lines:
Many Jenkins users look for a recommend a strategy for keeping an audit trail. This article is supposed to be a gap filler until more comprehensive compliance capabilities in JE/JOC are developed.
There are two open source plugins that enable you to track “WHO did WHAT?” in Jenkins:
...
The first plugin listed is Audit Trail Plugin which looks to provide exactly what you are seeking.
The description from the plugins page:
Keep a log of who performed particular Jenkins operations, such as configuring jobs.
This plugin adds an Audit Trail section in the main Jenkins configuration page. Here you can configure log location and settings (file size and number of rotating log files), and a URI pattern for requests to be logged. The default options select most actions with significant effect such as creating/configuring/deleting jobs and views or delete/save-forever/start a build. The log is written to disk as configured and recent entries can also be viewed in the Manage / System Log section.
I spent a few minutes looking through Jenkins various xml and log files, but could not find a log that contained something useful (username and/or timestamp). In this case it seems user auditing isn't built into Jenkins as of yet. Unfortunately it appears that you might not be able to determine who made those changes after the fact.
I am using JIRA 3.13, I want to show list of tickets (based on a certain filter) in the dashboard with a column of my choice. For example, I want to show the ticket name, description, and resolution date (or a column of my choice). Is this possible? I use "Show saved Filter", the one that came with JIRA, but it does not allow me to do any customization.
Does anyone has a solution of how to have this showed in JIRA dashboard? Do I need to install a certain for this? Is it free? How do I install it?
Thanks all for the help!
There is a paid portlet that we can use to do this. The portlet is called "Jira Show Saved Filter With Columns" made by jPlugs.com. We have to pay ~$200.
Installation is pretty simple but requires to bring down JIRA (restart). Anyway, the steps is:
1. Put the jar file in WEB-INF/lib
2. Restart JIRA
The company offer 30 days trial. In order to get the trial key, you need to create an account in their website and then generate the trial key also from their website. Make sure you check the version of the portlet that you install. For me, I use version 2.03 which looks like the latest that was released for my JIRA.
Hopefully, this info will help others.