CoreBOSBB
Changed a default assigned ( Trouble Tickets ) - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+--- Thread: Changed a default assigned ( Trouble Tickets ) (/showthread.php?tid=346)



Changed a default assigned ( Trouble Tickets ) - rslemer - 08-08-2016

How i can changed default assigned at new trouble ticket for a Group instead to logged user?

Thanks a lot!

Ranieri


RE: Changed a default assigned ( Trouble Tickets ) - joebordes - 08-08-2016

Try creating a Field Business Mapping for the same module.

http://corebos.org/documentation/doku.php?id=en:adminmanual:businessmappings:mapping
http://discussions.corebos.org/thread-338-post-1723.html#pid1723

Please let us know how it goes and share the final mapping you use,


RE: Changed a default assigned ( Trouble Tickets ) - rslemer - 08-09-2016

(08-08-2016, 09:10 PM)joebordes Wrote: Try creating a Field Business Mapping for the same module.

http://corebos.org/documentation/doku.php?id=en:adminmanual:businessmappings:mapping
http://discussions.corebos.org/thread-338-post-1723.html#pid1723

Please let us know how it goes and share the final mapping you use,

I have no idea how to use it ...   :-)

Let me explain better ..

I don't understand this documentation link ..

For me, is poor of examples ...


RE: Changed a default assigned ( Trouble Tickets ) - rslemer - 08-09-2016

I think not is a better solution, but i do that at workflow ...


RE: Changed a default assigned ( Trouble Tickets ) - joebordes - 08-09-2016

I tried this and it worked perfectly.

I have a group with ID = 52, so I created the next mapping which also sets the severity to major:


Code:
<map>
  <originmodule>
    <originname>HelpDesk</originname>
  </originmodule>
  <targetmodule>
    <targetname>HelpDesk</targetname>
  </targetmodule>
  <fields>
    <field>
      <fieldname>assigned_user_id</fieldname>
      <Orgfields>
        <Orgfield>
          <OrgfieldName>52</OrgfieldName>
          <OrgfieldID>CONST</OrgfieldID>
        </Orgfield>
      </Orgfields>
    </field>
   <field>
      <fieldname>ticketseverities</fieldname>
      <Orgfields>
        <Orgfield>
          <OrgfieldName>Major</OrgfieldName>
          <OrgfieldID>CONST</OrgfieldID>
        </Orgfield>
      </Orgfields>
    </field>
 </fields>
</map>


[attachment=92]


RE: Changed a default assigned ( Trouble Tickets ) - rslemer - 08-10-2016

Thanks Joe! I will try that.

I think that resource is very powerful ... but need more documentation. At future, a wizard to created a code would be a great idea.

One question, that module not is a admin module? because is listed if a user module? ( only to standardization ... )


RE: Changed a default assigned ( Trouble Tickets ) - joebordes - 08-10-2016

The Business Map module has an action link on the right to create generators for each type, it is there, but creating a GUI editor is VERY time consuming, in fact that is the main reason that this module exists, it permits the implementor of the CRM to customize without the need of the GUI, and the GUI can be added if resources (time and money) are dedicated. While we wait for the resources we can customize....

Yes, it is an admin module, but I think that all the settings sections, or most of it should not exist, they should all be normal modules, that would make the administrators life easier. In time I will eliminate the whole settings section.

You can define who has access to the business map module using the normal system privileges.


RE: Changed a default assigned ( Trouble Tickets ) - rslemer - 08-12-2016

You are right on the mentioned points, Joe!

Having documentation, we can look at developing a generator application of these codes.

Also, there is the possibility to financially contribute to the development if you have a quote for this. But not right now, because here in Brazil we have the economy going "sideways". In the future, I think it is possible.