Project

General

Profile

Fixing-keywords

Added by SwedishMatch TimerWolf about 14 years ago

My fixing keywords dosent work

My settings is

Referencing keywords: *
Fixing keywords: Added:*, Changed:*, Fixed:*, Resloved:*

The linking to the IssueID works fine but the autoclose will not work

/ Slaktarn


Replies (11)

RE: Fixing-keywords - Added by Felix Schäfer about 14 years ago

The * is only needed if you want global globbing, if you put in a string other than *, redmine will try to match against any of the strings between the commas (minus leading/trailing whitespace). In your case, it will try to match literally "Added:*" or "Changed:*" and so on. IIRC the match is also case insensitive, something like "added, changed, fixed, resolved" (notice you have a letter wrong in resolved) should work like you would expect.

RE: Fixing-keywords - Added by SwedishMatch TimerWolf about 14 years ago

But i still don´t get it to autoclose

now i have

Referencing keywords: *
Fixing keywords: added, changed, fixed, resolved

RE: Fixing-keywords - Added by SwedishMatch TimerWolf about 14 years ago

My massage looks like

Added: $massage ($id)
Changed: $massage ($id)
Fixed: $massage ($id)
Resolved: $massage ($id)

RE: Fixing-keywords - Added by Felix Schäfer about 14 years ago

Ok, it seems the regex is less broad than I thought, but I can only repeat what I've already told you: please read the docs instead of wasting your and my time. To be exact, the last line of RedmineSettings states:

After a keyword issue IDs can be separated with a space, a comma or &.

This means things like that should work with the setting you have above:

$MESSAGE, Added: $ID
$MESSAGE, added $ID
$MESSAGE, Added: $ID, $ID
$MESSAGE, added: $ID & $ID

RE: Fixing-keywords - Added by SwedishMatch TimerWolf about 14 years ago

But it dosent i tested whit exactly this row

Added: filter for some stupid things  (#7)

But it dosent autoclose so it most be something wrong

RE: Fixing-keywords - Added by SwedishMatch TimerWolf about 14 years ago

Seems like you don´t see what my problem is.........
And i have read that wiki alot of times "just a note"

You wrote

$MESSAGE, Added: $ID
$MESSAGE, added $ID
$MESSAGE, Added: $ID, $ID
$MESSAGE, added: $ID & $ID

I will have

Added: $MESSAGE ($ID)
added: $MESSAGE ($ID)
Added: $MESSAGE ($ID), ($ID)
added: $MESSAGE ($ID) & ($ID)

Or is that not possible to start whit the fix-keyword? and end whit the issue-link

RE: Fixing-keywords - Added by Felix Schäfer about 14 years ago

SwedishMatch TimerWolf wrote:

Or is that not possible to start whit the fix-keyword? and end whit the issue-link

No, the match is: <keyword><some number of whitespace and ":"><issue id>.

RE: Fixing-keywords - Added by Felix Schäfer about 14 years ago

Sorry, I quoted instead of editing, please ignore this post.

RE: Fixing-keywords - Added by SwedishMatch TimerWolf about 14 years ago

Whit other words its impossible to do it the way i will have it......

RE: Fixing-keywords - Added by Felix Schäfer about 14 years ago

Impossible with a vanilla redmine: yes, not possible at all: no, it's open source, you can change it to what you need.

RE: Fixing-keywords - Added by SwedishMatch TimerWolf about 14 years ago

Thanks this post is now closed

    (1-11/11)