Redmine:通过 GET 请求创建问题

发布于 2024-10-12 17:00:32 字数 850 浏览 3 评论 0原文

在 JIRA 中,可以通过简单的 GET 请求创建新问题: http://confluence.atlassian.com/display/JIRA/Creating+Issues+via+direct+HTML+links

此类链接的一个简单示例:

“http://jira.atlassian.com/secure/CreateIssueDetails!init.jspa?pid=10420&issuetype=3&summary=say+hello+world”

这将在PID=1042 的项目,摘要为“Say Hello world”。

是否有Redmine插件/api允许这样的用例? REST API 对我来说不方便,因为我希望允许用户通过电子邮件中发送的链接创建新问题(使用预填充的数据),并且我不想使用 JavaScript 来完成该工作(发送 REST json/ XML 数据)。

编辑: 据我所见(http://www.redmine.org/projects/redmine/wiki/ RedmineReceivingEmails)Redmine提供了一个用于提交问题的电子邮件API,这将是一个部分解决方案。我可以添加一个“mailto:”链接来预先填充消息的内容。 该解决方案需要额外的电子邮件,因此我仍然希望有一个帖子链接解决方案。

In JIRA it is possible to create new issues through a simple GET request: http://confluence.atlassian.com/display/JIRA/Creating+Issues+via+direct+HTML+links.

A simple example of such a link:

"http://jira.atlassian.com/secure/CreateIssueDetails!init.jspa?pid=10420&issuetype=3&summary=say+hello+world"

This would create a new issue in project with PID=1042 with summary "Say Hello world".

Is there Redmine plugin/api which allows for such a use case? The REST API is inconvenient for my use since I would like to allow users to create new issues (with pre filled data) through a link sent in email and I don't want to use JavaScript for the job (to send the REST json/xml data).

EDIT:
From what I see (http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails) Redmine provides an email API for submitting issues, this would be a parital solution. I would be able to add a "mailto:" link which would pre fill the content of the message.
This solution requires additional emails so still I would prefer to have a post link solution.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

烧了回忆取暖 2024-10-19 17:00:32

我已经实现了一个基本的插件来满足我的需求。您可以在以下位置找到它:
http://code.google.com/p/redmine-post-link-插件/

I have implemented a basic plugin which fulfills my needs. You can find it at:
http://code.google.com/p/redmine-post-link-plugin/

少女情怀诗 2024-10-19 17:00:32

您还可以有一个实际发送电子邮件的服务器端脚本。据我所知,没有帖子链接解决方案。

You could also have a server-side script that actually sends the e-mail. There's no post link solution as far as I know.

高跟鞋的旋律 2024-10-19 17:00:32

您可能想查看 Redmine API 来更新和创建问题。

http://www.redmine.org/projects/redmine/wiki/Rest_Issues

You might want to look at the Redmine API for updating and creating issues.

http://www.redmine.org/projects/redmine/wiki/Rest_Issues

如梦初醒的夏天 2024-10-19 17:00:32

在Redmine2中有官方API

In Redmine2 there is oficial API for it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文