Menu

How add UserRequest to Related Ticket on Project with pmp-light extension

2021-04-13
2024-12-20
  • Eduardo Serracin

    I installed the pmp-light extension for project management, I am trying to relate existing Requirements to the project, but in the Related Tickets tab I never get information.

    How can I relate Requirements to the project?

    Top version 2.7.3-6624 built on 2020-12-09 10:28:04
    Data model: 2.7.2
    MySQL: 10.4.17-MariaDB
    PHP: 7.3.26

    Thanks

     
  • Qwazar

    Qwazar - 2024-12-19

    The situation is similar with the "Project management extended 1.1.3" extension

    It is not clear how to link an existing or new ticket to the project.
    I found an opportunity to do this only if I go into the project in editing mode. (as in the screenshot above.)
    I do not believe that this was not provided. Is the extension really that raw?

    iTopVersion: 3.0.4
    iTopBuild: 12690
    iTopBuildDate: 2024-01-09 09:57:50
    MySQLVersion: 10.4.29-MariaDB
    PHPVersion: 7.4.33

     
  • Stephen Abello

    Stephen Abello - 2024-12-19

    Hi,

    Indeed there seems to some missing code in the extension that we'll try to fix in one of the next release.

    Meanwhile you can easily fix this by creating your own extension (with a dependecy to combodo-pmp-extended) or adding production.delta.xml file in your data/ folder.

    The content of your datamodel.xxxx.xml or production.delta.xml should be the following:

    <?xml version="1.0" encoding="UTF-8"?>
    <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.7">
     <classes>
        <class id="UserRequest" _created_in="itop-request-mgmt-itil">
          <presentation>
            <details>
              <items>
                <item id="col:col3">
                  <items>
                    <item id="fieldset:Ticket:relation">
                      <items>
                        <item id="related_project_id" _delta="define">
                          <rank>60</rank>
                        </item>
                      </items>
                    </item>
                  </items>
                </item>
              </items>
            </details>
          </presentation>
        </class>
     </classes>
    </itop_design>
    

    This workaround has been added to the documentation of the extension

    Le me know if this helps, sorry again for the inconvenience
    Stephen

     
    • Qwazar

      Qwazar - 2024-12-20

      Hi, I already implemented something similar yesterday :) Your option is useful.

       
      😄
      1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.