Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Add users dynamically to Build Forge adapter

Does anyone know how to easily add people who did not make any code changes to the Build Forge notification list? The only way in which I got this to work is by adding them to the adapter's code.
I changed the following:
    <adduser group="MyChangers" user="$4"/>
To:
    <adduser group="MyChangers" user="userid_1"/>
    <adduser group="MyChangers" user="userid_2"/>
    <adduser group="MyChangers" user="userid_3"/>

However, this is very inconvenient:

Thanks,

Jozef

1 vote



2 answers

Permanent link
 There is .email, but that sends an step_email template email to a user.  There is no way to add them to a group temporarily for a notification.  The adaptor is the only way to do that.

~Spencer

1 vote

Comments

Thanks for the reply. Is it possible to specify the name of a BF access group in the adapter somehow??

Jozef

You can.
You will simply need to list the Access Group by name under the <adduser> element in the adaptor instead of a username.

ie:
<adduser group="MyChangers" user="Notify Group"/>

1 vote

Wow - works! Thanks Josh!!

Jozef

I'm disappointed to have to report that this does not work anymore when using the new Java engine... The value passed is not interpreted as a group anymore, but as a user, which of course does not exist.

Any ideas on how to get this back to work when using the MJC?

Thanks,

Jozef  


Permanent link

Just updating this thread with the fact that I submitted a PMR (07626,004,000) for the problem that the adaptor is no longer able to send a notification email to a group when switching to the MJC.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,132

Question asked: Jul 23 '13, 8:29 a.m.

Question was seen: 5,002 times

Last updated: Oct 12 '15, 4:12 p.m.

Confirmation Cancel Confirm