Custom field handlers syntax when using the Jira/Rally Connector -




i working on jira/rally (ca agile central) integration , can basic sync work, fields require more complex transformation when syncing them between jira , rally.

for can see ca agile connector (https://help.rallydev.com/jira-installation-user-guide) provides support "custom field handlers" written in ruby , follow format like:

# copyright 2015 ca technologies.  rights reserved. require 'rallyeif/wrk/field_handlers/field_handler'  module rallyeif   module wrk     module fieldhandlers       class mycustomfieldhandler < otherfieldhandler         def initialize(field_name = nil)           super(field_name)         end          # ... more code here ...       end     end   end end 

however when create file , add following connector config:

... <connector>     <fieldmapping>         <field>             <rally>description</rally>             <other>description</other>             <direction>to_rally</direction>         </field>         ...     </fieldmapping>      <otherfieldhandlers>         <mycustomfieldhandler>             <fieldname>description</fieldname>         </mycustomfieldhandler>     </otherfieldhandlers>  </connector> ... 

when running connector following error:

[2017-08-22 20:25:39 z] error : rallyeif::wrk::connector.rescue in block in read_field_handlers - rallyeif::wrk::jiraconnection: not find class mycustomfieldhandler 

the documentation not mention how use custom handlers @ all, i'm wondering if has used feature , can share information on how declare , use custom field handlers.

i tested connector version 4.7.2 , worked. things check:

  • within folder connector invoked, there must folder named "field_handlers"
  • within "field_handlers" folder, there must file (as have shown above) "class mycustomfieldhandler < ...."

there example on pages. it's hp-alm (qc) not jira, concept same:

end of ideas far.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -