Last modified: 2014-09-23 19:36:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30976, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28976 - Provide/enable a web service API for OTRS
Provide/enable a web service API for OTRS
Status: NEW
Product: Wikimedia
Classification: Unclassified
OTRS (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Jeff Green
:
Depends on: 22622
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-14 15:45 UTC by Siebrand Mazeland
Modified: 2014-09-23 19:36 UTC (History)
14 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Siebrand Mazeland 2011-05-14 15:45:51 UTC
As agreed with Rob, the question in a bugzilla ticket.

If the API is not enabled, can it please be enabled?

We would like to use it in the second iteration of WikiPortrait.
Comment 1 Mark A. Hershberger 2012-02-06 20:04:40 UTC
https://rt.wikimedia.org/Ticket/Display.html?id=2394
Comment 2 Sumana Harihareswara 2012-02-06 21:01:26 UTC
Current status: per bug # 22622 comment # 14 Martin Edenhofer, inventor of OTRS has offered to help with the OTRS upgrade.  Does this API request depend on that?
Comment 3 Sam Reed (reedy) 2012-02-06 21:08:29 UTC
(In reply to comment #2)
> Current status: per bug # 22622 comment # 14 Martin Edenhofer, inventor of OTRS
> has offered to help with the OTRS upgrade.  Does this API request depend on
> that?

It might. If it's not installed/setup/configured etc, it might not be worth the time to do it before 

Documentation [1] seems to suggest it can work on the current version


[1] http://dev.otrs.org/
Comment 4 John Mark Vandenberg 2012-08-15 06:54:11 UTC
Is this asking about json.pl/iPhoneHandler? The Android apps for OTRS dont work because this is missing. I.e. MegaTicket and DS Helpdesk
Comment 5 Siebrand Mazeland 2012-08-15 07:52:47 UTC
It appears that OTRS is one of Wikimedia's forgotten work horses.
Comment 6 Tommy Yang 2012-09-22 18:14:44 UTC
(In reply to comment #2)
> Current status: per bug # 22622 comment # 14 Martin Edenhofer, inventor of OTRS
> has offered to help with the OTRS upgrade.  Does this API request depend on
> that?

http://www.otrs.com/en/open-source/get-otrs/software-download/
> iPhoneHandle-1.1.1.opm
> (requires OTRS Help Desk 3.1.1 or higher)

I'm adding bug # 22622 to dependencies.
Comment 7 Kunal Mehta (Legoktm) 2013-01-25 03:06:11 UTC
(In reply to comment #1)
> https://rt.wikimedia.org/Ticket/Display.html?id=2394

According to bug # 22622 comment # 41 the upgrade-related RT ticket was closed, so is this one still relevant?
Comment 8 John Mark Vandenberg 2013-01-25 03:23:22 UTC
https://ticket.wikimedia.org/otrs/json.pl still doesnt work.
Comment 9 Andre Klapper 2013-01-25 10:01:12 UTC
https://rt.wikimedia.org/Ticket/Display.html?id=2394 is still in new/open state.

> the upgrade-related RT ticket was closed

The RT ticket was closed because we try to handle this in Bugzilla which is easier to access than RT. It does not mean that the request was FIXED yet.
Comment 10 Andre Klapper 2013-02-21 15:34:26 UTC
FYI, RT #2394 (just a copy of this Bugzilla ticket) is still open.

Trying to understand the status:

=== GENERAL INFO: ===
A "Web Service interface" was introduced in OTRS 3.1 according to
http://doc.otrs.org/3.1/en/html/features-of-otrs.html#idp34252976

=> Hence this requires upgrading OTRS from Wikimedia's version 2.4. This is handled in bug 22622 which is marked as a dependency of this report.

=== YAML: ===
This is what is used. http://doc.otrs.org/3.2/en/html/genericinterface-webservice-configuration.html states that "YAML is a markup language designed to be human friendly to read and write (it is easier to understand than JSON)".

=== JSON/REST: ===
This is not provided. http://doc.otrs.org/3.2/en/html/otrs.html only mentions REST or JSON twice, both under "New features of OTRS 3.1":
* Current features: Network transports: SOAP/HTTP. Others like REST and JSON are scheduled to be added in the future depending on customers demand.
* Future features: Additional network transports (REST, JSON).

With regard to the comment 4 and comment 8 and https://ticket.wikimedia.org/otrs/json.pl : http://lists.otrs.org/pipermail/otrs/2010-October/033653.html implies that installing "iPhoneHandle" is required to get it into place.
Comment 11 Kunal Mehta (Legoktm) 2013-04-09 19:54:27 UTC
> With regard to the comment 4 and comment 8 and
> https://ticket.wikimedia.org/otrs/json.pl :
> http://lists.otrs.org/pipermail/otrs/2010-October/033653.html implies that
> installing "iPhoneHandle" is required to get it into place.

I think this is the API that most people want, is there anything preventing it? It says that it's compatible with 2.4, so we don't need to upgrade to 3.0 for it.
Comment 12 Andre Klapper 2013-08-09 06:51:03 UTC
Version 3.2 of OTRS was recently made available on Wikimedia servers (see bug 22622). Once dust has settled a bit this is probably something that can be enabled now, if it's still wanted.
Comment 13 Kunal Mehta (Legoktm) 2013-08-09 07:12:25 UTC
This is most definitely still wanted :)
Comment 14 Martin Edenhofer 2013-08-09 07:20:12 UTC
Question to understand your needs.

Do you looking for an OTRS/Bugzilla integration? Or for an generic Network-API (SOAP or REST) of create/update tickets?
Comment 15 Kunal Mehta (Legoktm) 2013-08-09 07:23:13 UTC
Just a generic API that we can use to query queues and get some info. I can't think of any use case for updating tickets via an API, but it would still be nice to have in case someone does come up with one.
Comment 16 Siebrand Mazeland 2013-08-09 09:36:14 UTC
(In reply to comment #14)
> Question to understand your needs.

The use case is the following:

Wikiportrait (http://wikiportret.nl/)[1] is a website where agents and such can upload pictures of well known people[2], that volunteers can later upload, after getting verification through OTRS[3].

At the moment, all steps are manual. Having an API for OTRS would allow us to create an OTRS ticket initiated through the wikiportrait admin UI, which reduces effort needed by the wikiportrait volunteer. It would also allow us to more reliably connect wikiportrait uploads in wikiportret.nl to an OTRS ID.

It should be possible to create a new ticket in a specific queue, with a To:, Cc:, subject and content, and should return at least the ID of the ticket created.

[1] http://meta.wikimedia.org/wiki/Wikiportrait
[2] http://commons.wikimedia.org/wiki/Category:Wikiportrait_uploads
[3] http://commons.wikimedia.org/wiki/File:Abbey-hoes.jpg
Comment 17 Ryan (Rjd0060) 2014-07-21 01:32:48 UTC
I see this may be possible with an add-on released by OTRS.

Information available at http://www.otrs.com/feature-add-on/otrs-generic-interface-rest/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links