Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Service Desk API #79

Open
1 task done
SimFre opened this issue May 23, 2023 · 2 comments
Open
1 task done

[Feature] Service Desk API #79

SimFre opened this issue May 23, 2023 · 2 comments
Assignees
Labels
feature New feature or request

Comments

@SimFre
Copy link

SimFre commented May 23, 2023

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

  1. Automatic try; if Jira API says error 403, try the Jira Service Desk API (endpoint /rest/servicedeskapi/request/ABC-123)
  2. 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.

  • Check the existing feature request and vote with a 👍 the one you like
@SimFre SimFre added the feature New feature or request label May 23, 2023
@marc0l92
Copy link
Owner

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 ?

@SimFre
Copy link
Author

SimFre commented Oct 23, 2023

I set up an instance on Jira Cloud at Atlassian, and it came with a few tickets pre-filled.

  1. GET to https://throwaway.atlassian.net/rest/servicedeskapi/request/
  2. response.values[].issueKey is example of the Jira ticket (EX-2 in this case).
  3. 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.

JiraSD_EX-2_response.json
JiraSD_response.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants