obsidian-jira-issue
obsidian-jira-issue copied to clipboard
[Feature] Service Desk API
Is your feature request related to a problem? Please describe. I would like to see support for tickets where I only have access to the ticket via Jira Service Desk, so in a space where I'm not an agent. Useful in environments where multiple projects are used, and users are not agents in all of them.
Describe the solution you'd like
- Automatic try; if Jira API says error 403, try the Jira Service Desk API (endpoint /rest/servicedeskapi/request/ABC-123)
- Manually define. Example JIRA:ABC-123 for regular tickets and JIRASD:ABC-123 for Service Desk API.
Describe alternatives you've considered Manually list ticket information.
- [x] Check the existing feature request and vote with a 👍 the one you like
It will be difficult to work on this functionality without some testing. Do you know any open Jira project that I can use to test my implementation?
Currently I use the api of those servers to test the plugin: https://issues.apache.org/jira https://bugs.mojang.com https://jira.atlassian.com
Are you able to find any issue that is accessible with the service desk api ?
I set up an instance on Jira Cloud at Atlassian, and it came with a few tickets pre-filled.
- GET to https://throwaway.atlassian.net/rest/servicedeskapi/request/
- response.values[].issueKey is example of the Jira ticket (EX-2 in this case).
- GET to https://throwaway.atlassian.net/rest/servicedeskapi/request/EX-2 will pull out all the public case details. Like response.requestFieldValues[label='Summary'] for the topic, and response.currentStatus.status for the status text.