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 for ProFields (Project Fields) #201

Open
brunobertechini opened this issue Apr 18, 2019 · 13 comments
Open

Support for ProFields (Project Fields) #201

brunobertechini opened this issue Apr 18, 2019 · 13 comments

Comments

@brunobertechini
Copy link

Hi there, I am successfully using this extension for a while.

However, my Jira has some custom Project Fields (ProFields) in use for every ticket type. The columns are displayed correctly using my JQL in Jira, however when I insert in the spreadsheet using ProjectAid AddOn. the values for these columns are not populated.

Is this not supported?

@ljay79
Copy link
Owner

ljay79 commented Apr 19, 2019

Hi.
Custom fields are supported partially depending on their actual type.
Did you try to configure these custom fields via the Add-on -> Configure custom fields?
pa4j-configure-custom-fields

@brunobertechini
Copy link
Author

Hi @ljay79 yes I did. I have selected them as explained in the post, however, no data is displayed.

My custom field is a Profield for a User (which in fact is Json object).

When I use custom functions to access I need to do like "field.displayName"

I am using the profields extension to select like project role manager for my project. I would like to have this info populated...

Do you think this type is not supported?

@ljay79
Copy link
Owner

ljay79 commented Apr 21, 2019

Apparently no, such custom fields are not yet supported.
I can try to analyze them and possible add support for them if possible. However, i do not have such ProFields extension and would require your assistance.

In order to get me some more details on these fields, please follow below instructions.
1)
Add-ons -> Project Aid for Jira -> About

  • enable debugging
  • copy shown "Temp. User key" and provide it to me

Add-ons -> Project Aid for Jira -> Jira field map

  • simply open it, is enough. You can close it right away.
  • it will just debug the fields structure to my logging account

When logged in to your Jira, open a second browser tab and enter following URL,
and provide me the output as an text attachment file please.
https:///rest/api/2/issue/KEY-123?fields=*all

Replace "KEY-123" with an Jira issue key, where you know for sure, the mentioned Profields are existing and have some data set.

@brunobertechini
Copy link
Author

@ljay79 I will try. Let me just check if we have any sensitive information that cannot be shared.

Cheers and thanks

@ljay79
Copy link
Owner

ljay79 commented Apr 22, 2019

Yes sure.
You can copy&paste the output of the URL requests here : https://jsonlint.com.
it will make the json pretty and then u can easily edit and obscure any sensitive info.

@brunobertechini
Copy link
Author

Hello @ljay79 sorry for late reply.

How can I share the data privately with you ?

@brunobertechini
Copy link
Author

Done. Sent. Can you check ?

@ljay79
Copy link
Owner

ljay79 commented May 14, 2019

Have received it, thx. Will review and check everything over the next days and keep you updated here.
Your fieldmap config i was able to retrieve from the logs as well. Quite impressive amount (1000+) field configurations..

Can you tell me 1 or 2 sample fields you are unable to use/configure with my Add-on, so i can focus on them first.

@brunobertechini
Copy link
Author

SaaS SEM and SaaS CA

@brunobertechini
Copy link
Author

they are mapped to users in jira. Using api i always need to field.user.displayName

@ljay79
Copy link
Owner

ljay79 commented May 15, 2019

Hi @brunobertechini ,
after initial review of your provided details, my logs and the ProFields documentation im confident, i will be able to add at least a few of these fields into the add-on.

But i cant give you any timeline yet.
There is one major thing i must update first due to Atlassians change of API authentification by 1st june and end of this months im going to holiday.

Please be patient, i will keep you updated.

@brunobertechini
Copy link
Author

Thanks a lot.

@ljay79
Copy link
Owner

ljay79 commented Jun 17, 2019

I have added support for all the Profield custom fields of type "user" ("profields.customfield.type.user").
According to your Jira field map, this should add support to about 22 user fields of your custom ProField setup.

Let me know, what else of these ProField types would require support. I rather go one by one, than adding all of such custom behavior into a "mainstream" ad-on :)

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