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

Support Service Desk fields #191

Open
katherinepatrice opened this issue Mar 28, 2019 · 5 comments
Open

Support Service Desk fields #191

katherinepatrice opened this issue Mar 28, 2019 · 5 comments

Comments

@katherinepatrice
Copy link

Service desk fields (listed as custom fields) are not supported currently.
I see that Type: "array|sd-customerorganization" and many other "sd-" types are grayed out and not supported. Would it be possible to make these available?

SD_support

@ljay79
Copy link
Owner

ljay79 commented Mar 29, 2019

Hi @katherinepatrice
thanks for using my Add_on and for taking the time to request an enhancement.

As i am not a heavy user and i do not have access to an Jira instance with Service Desk, i can only give it a "blind" shot on trying to add support for such fields.

If you could kindly assist me with getting more details on such fields, i like to ask you to follow below procedure. This should give me quite good information on such fields and how to possibly add support for them into my add-on.

  1. Add-ons -> Project Aid for Jira -> About
  • Turn "on" debugging and provide me with the shown "Temp. User Key"
  1. Add-ons -> Project Aid for Jira -> Configure Custom Fields
  • Simply open that menu once after enabling debugging
  • no further action needed
  1. Perform a search using the Add-ons custom function "JST_search()"
    =JST_search(JQL; Fields; Limit; StartAt)

This will try to perform a query to your Jira instance with the given jira fields.
Even it will not properly return results to you, as the fields are not supported, it will certainly log the Jira issues response data to my StackDriver Logging account.
This way, i can analyze the fields response format and try to (blindly) implement support for such fields.

Please perform a search like this example:
=JST_search("status = Done"; "key,sd-servicelevelagreement"; 10)

Note: This will request Jira issue data and make them visible to me (me only) as long as the
"Debugging" option is enabled. So please choose a JQL query which does not return sensitive information :)

In case you have more of such custom fields, i believe the Jira field map (Add-ons -> Project Aid for Jira -> Jira field map) will list you all these custom fields and there names.
Important for my development is the name in column "ID".
You can perform above custom JST_search() adding these ID names into the second parameter and it will as well, give me some more detailed information in my logs on how to maybe implement support for same.

@ljay79
Copy link
Owner

ljay79 commented Apr 2, 2019

Hi @katherinepatrice , any update on this? Do you maybe need further assistance for providing requested details?

@katherinepatrice
Copy link
Author

katherinepatrice commented Apr 2, 2019 via email

@ljay79
Copy link
Owner

ljay79 commented Apr 3, 2019

Thx, i will check what i got and how/if it can help.

@ljay79
Copy link
Owner

ljay79 commented Apr 4, 2019

Hi @katherinepatrice , sadly this didnt helped that much as i was hoping. I dont have deep level debug active for these relevant parts.

Maybe the following will give me more input.
When you are logged in into your jira, open a second tab and access following URL:
https://ji.mfmnow.com/rest/api/2/field

It should return a JSON response with all your jira field types and mapping, if you could pass me this data her or by email to github [at] jens79 [dot] de that should hopefully give me more insights on how to add support to service desk fields.
Couldnt find detailed info on atlassian doc's itself yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants