jira-tools icon indicating copy to clipboard operation
jira-tools copied to clipboard

Could not find valid 'id' or 'value' in the Parent Option object (Beta update for custom fields)

Open EkaterinaVlasova opened this issue 4 years ago • 12 comments

Steps to reproduce

** Provide a set of unambiguous steps to reproduce this bug include code, if relevant **

  1. Select to pull bug tickets from the selected filter with added custom fields (all data was imported successfully)
  2. Make an update to a value of 2 custom fields (i have project_team and feature as custom fields, both one value without commas)
  3. Select column titles and the values
  4. Select to Update Jira tickets

Expected result

  1. Values that were previously empty in the custom fields, should get the expected new values

Actual result

  1. [Screenshot, logs] Could not find valid 'id' or 'value' in the Parent Option object.

Notes: i have used Jira map function to see the IDs of those custom fields, and have tried to change the Column titles with those IDs instead, but still same error.. Screenshot 2020-07-08 at 00 03 35

EkaterinaVlasova avatar Jul 07 '20 23:07 EkaterinaVlasova

Thx for reporting. I will have a look into that asap

ljay79 avatar Jul 09 '20 16:07 ljay79

please let me know if i could provide any more details about this, i found the debug mode but the error message doesn't show anything extra when debug is enabled...

EkaterinaVlasova avatar Jul 14 '20 10:07 EkaterinaVlasova

Hi, so.. the addon is back online, to further investigate i like to ask you to follow these steps:

  • go into "About" dialog
  • enable debugging
  • take note of the "temp. user key" and report it here.
  • perform the actions which causing the errors
  • report back here with a rough time frame you did the steps above

ljay79 avatar Jul 14 '20 16:07 ljay79

Hello, ALEt7zRrAaUo241FqASdHCL6bXR31dRnebuiKus+roH/svlm2Q2W8bv94NhFPRYisQBj0Tz/JjFQ 15 july, uk time: 21:27

however now i think i got a different error: Funktion forEach in Objekt Mobile SDK, Navigation nicht gefunden Screenshot 2020-07-15 at 21 28 20

EkaterinaVlasova avatar Jul 15 '20 20:07 EkaterinaVlasova

at 21:30 i have unchecked Summary, Components, Description fileds, cause i have only updated Feature and Project_team and now i got my original error message:

Project_Team: Could not find valid 'id' or 'value' in the Parent Option object., Feature: Could not find valid 'id' or 'value' in the Parent Option object.,

EkaterinaVlasova avatar Jul 15 '20 20:07 EkaterinaVlasova

Thx for the feedback. I will have a look soon. Please keep in mind that this part is a Beta feature and development on that part had became stalled...

ljay79 avatar Jul 15 '20 21:07 ljay79

thanks a lot for the fast reply. i think this is a very cool feature, i managed to see it working for another jira project where i had no errors, and also updated a custom field. if only your tool could also import test cases from testrail and upload back to testrail ... :)

EkaterinaVlasova avatar Jul 15 '20 22:07 EkaterinaVlasova

Hi @ljay79 - I can try find some time to look at this if you like. I think the issue is related to the same problem here https://community.atlassian.com/t5/Jira-questions/Error-creating-issue-via-REST-API-could-not-find-valid-id/qaq-p/370628 @ljay79 can you send me the debug info? @EkaterinaVlasova - the issue is likely caused by using the names of the Feature and Project_Team where Jira's API by default wants the internal ID of these elements. It may be possible to set them by name.

paul-lemon avatar Jul 29 '20 07:07 paul-lemon

Any update on this topic @paul-lemon ? :)

ljay79 avatar Sep 03 '20 17:09 ljay79

@ljay79 - happy to look but I need the debug info from the logs.

paul-lemon avatar Sep 03 '20 19:09 paul-lemon

Sry @paul-lemon apparently i was waiting to long to catch up on this topic. There is no such logs anymore. Stackdriver does not keep them forever.

If you guys wanna re-evaluate that topic and produce new logs, give me a ping and i fetch them more faster this time.

ljay79 avatar Sep 07 '20 08:09 ljay79

Hi @EkaterinaVlasova - if you would like me to look at this problem can you reproduce the problem while following these steps so I can see the log files from JIRA

  • go into "About" dialog
  • enable debugging
  • take note of the "temp. user key" and report it here.
  • perform the actions which causing the errors
  • report back here with a rough time frame you did the steps above

paul-lemon avatar Sep 13 '20 09:09 paul-lemon