我正在尝试自动完成Atlassian工具许可证到期时的通知。我一直在查看JIRA,并在提供许可证详细信息的REST API URL下找到。
https://jira.company.com/rest/plugins/applications/1.0/installed/jira-software/license
但是,我不知道如何获取Confluence和Fiisheye的许可详细信息。
我可以在下面看到REST API网址。但是它没有提供足够的信息。
https://confluence.company.com/rest/plugins/1.0/com.atlassian.confluence-key/license
JSON:
{
"links": {
"self": "/rest/plugins/1.0/com.atlassian.confluence-key/license",
"alternate": "/rest/plugins/1.0/available/com.atlassian.confluence-key",
"license": "/rest/plugins/1.0/com.atlassian.confluence-key/license",
"update-license": "/rest/plugins/1.0/com.atlassian.confluence-key/license",
"license-callback": "https://confluence.company.com/plugins/servlet/upm/license/com.atlassian.confluence",
"try": "https://my.atlassian.com/addon/try/com.atlassian.confluence",
"new": "https://my.atlassian.com/addon/new/com.atlassian.confluence"
},
"pluginKey": "com.atlassian.confluence",
"valid": false,
"active": false
}
请分享您的想法
答案 0 :(得分:1)
以上问题已从Confluence 7.1开始解决。您可以使用一些汇合扩展点:
/rest/license/1.0/license/details <-- expiryDate available
/rest/license/1.0/license/maxUsers
/rest/license/1.0/license/userCount
/rest/license/1.0/license/remainingSeats
答案 1 :(得分:0)
Confluence并未通过API提供有关许可详细信息的广泛信息。我们对此提出了功能要求,您可以在下面找到。