Gerrit behaviour to find change-id in last paragraph - gerrit

I am working on Gerrit. I know it has default behavior to find the change id in the footer message of commit message.Now my question is that can change this change this behavior.If yes pelase provide me idea about this. I want that gerrit parse all message to check change Id not only footer.

No, this is not currently possible, although it is a requested feature: https://code.google.com/p/gerrit/issues/detail?id=606

Related

Jira - attempting to make a field NOT REQUIRED

We have an existing text field 'Defect Found Version' (DFV) and a new Field I have created 'Defect Found Version Picker'
I have made the Picker mandatory & that works fine, listing all the cersions on the project.
The DFV field is set to 'Optional' on the right hand side of the Configure Field layout page, however next to the name on the left there is the text REQUIRED & I can not see how to disable this.
Even if I remove this field from all screens I get an error when I create a bug saying that DFV is required.
Any thoughts please ?
Look at the Field Configuration Scheme used by the JIRA project. Then look at the field configuration used for that issue type. That's where it is being made required. Unless it's because of the JIRA Behaviour plugin, so check if that is active
Do you have take a look on your Workflow validator ?
Sometimes, it's required on your workflow, and not on your screen.

Email Footer Issue jira

I am able to recive and send emails properly.
Email footer content is displaying "template.footer.text" instead of text.
please provide suggestions.
what are files i need to edit and location for files.
regards,
tousif shaikh.
I've never worked with Jira but I'd speculate you're missing a template file which probably live here:
atlassian-jira/WEB-INF/classes/templates/email/html/includes/
atlassian-jira/WEB-INF/classes/templates/email/text/includes/
You'll probably have better luck at the Jira forums which seems to have been based on yours truly :)
https://answers.atlassian.com/questions/

Cannot update custom field description

I'm using JIRA 4.1.2. I have a page layout created using Jelly, but now that the app is in production I need to manually change a field description (can't run the script again).
The documentation says to go to Field Configurations -> Configure -> Edit, enter the text and hit update. I do that but nothing changes. HOWEVER, for a field that was created outside of Jelly, using the standard JIRA UI, an update works.
What gives? None of my jelly-created fields will update.
Thanks for any help!
Check which field configuration is being used for a specific issue.

Not able to add comments on Gerrit. It rather gets added as Draft. What am I doing wrong?

Not able to add comments on Gerrit. It rather gets added as Draft. What am I doing wrong? Others in my team are able to add comments though.
Comments are published when you make them part of a review. Post a review and the comments will be published with it. (You can score the commit as +0 if you don't have any opinion either way.)
Click on the Reply button in the header. Then Post it.
For those who has happened to be stumbled (like me) with how to post comments for work-in-progress (WIP) review without starting review (e.g. leaving in work-in-progress state), Gerrit version 2.16. Here's counter-intuitive answer:
Press "START REVIEW" button - don't afraid, it will not start review immediately (at least on above mentioned version)
Press "SAVE" (greyish! not quite noticeable) in opened window in left bottom corner
UPDATE
In newer version I got 3.2.3 - it's been improved, the button is not greyish and looks normal and in the right bottom corner together with other buttons: | CANCEL | SAVE | SEND AND START REVIEW |
And since I am not able to add a comment :
When you want to add comments to a specific revision(Patch Set),
switch to that revision and then click on reply. This "Patch Sets" option is found on the upper right corner next to "Download".
Had to learn the Hard Way today. :-/
At least on Qt's Gerrit system:
After saving the comment draft, yse the keyboard shortcut 'r' to publish a "review" which publishes the comment.

tfs work items can not be modified after user is renamed in Active Directory

TFS stores information about who created or who activated a work item and for some reason checks its validity whenever the work item is modified.
When a user is deleted from active directory or renamed in active directory, all work items even slightly has connection with the user can not be modified. Usually the error message is something like ...
TF20015: The field 'Activated By' contains the value 'blah blah blah' that is not in the list of supported values.
I've found a blogpost which recommends tweaking the TFS database, which is something not supported nor recommended by Microsoft.
What can be done to resolve this?
Thanks...
e-mre
Caveat: I'm not sure that this will work, and right now I'm not in a position to test it. However, I've had success with this approach on some other fields.
If you use the TFS Power Tools to edit the work item type definition, you should be able to change the Activated By field's rules and add an ALLOWEXISTINGVALUE rule to it. This might allow you to save those records when the AD name changes.
We've used this with some success with the Assigned To field.
I've seen this behaviour. It occurs if someone who activated a work item is removed from Active Directory (leaves the company) or if they change their name (gets married).
It's simple to fix, you just need to change the work item status from Active to Pending then back to Active this will change the "Activated By" field to the person chaging the status and the problem will be resolved.
Are you using TFS 2008? I seem to remember that this issue is fixed in 2010 (but I might have dreamt that)
If you have a lot of work items this blog might have a solution that helps automate the fix.

Resources