Generated field on PR creation

View: New views
1 Messages — Rating Filter:   Alert me  

Generated field on PR creation

by Akos Csilling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I would like to add a custom field to my GNATS installation that would
contain the PR category and number in a given format. (This will be a URL
to search an email archive).

I can specify an on-change directive to get what I need:

on-change {
     set-field "Last-Modified" { "%s" "$CurrentDate" }
     set-field "Search-URL" {
        "http://server.my.domain/cgi-bin/namazu.cgi?query=gnats+%s/%s&idxname=tech-archive"
        "Category" "Number"
     }
}

But this is only called upon first modification, not upon creation.

Is there a way to generate the same text as an initial value?

(We only use gnatsweb to access the database, no direct or email submission.)

Thanks a lot,

Akos
---
Dr. Akos Csilling <akos@...>,  Systems Engineer
CES - Creative Electronic Systems, http://www.ces.ch

---
[This E-mail scanned for viruses by Declude Virus]



_______________________________________________
Help-gnats mailing list
Help-gnats@...
http://lists.gnu.org/mailman/listinfo/help-gnats