Skip to content

Commit c0ffdc2

Browse files
1 parent 2ca8210 commit c0ffdc2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

atlassian/jira.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2868,6 +2868,14 @@ def get_plugin_info(self, plugin_key):
28682868
url = "rest/plugins/1.0/{plugin_key}-key".format(plugin_key=plugin_key)
28692869
return self.get(url, headers=self.no_check_headers, trailing=True)
28702870

2871+
def get_plugin_license_info(self, plugin_key):
2872+
"""
2873+
Provide plugin license info
2874+
:return a json specific License query
2875+
"""
2876+
url = f"/rest/plugins/1.0/{plugin_key}-key/license"
2877+
return self.get(url, headers=self.no_check_headers, trailing=True)
2878+
28712879
def upload_plugin(self, plugin_path):
28722880
"""
28732881
Provide plugin path for upload into Jira e.g. useful for auto deploy

0 commit comments

Comments
 (0)