Hope this is in the right topic, please let me know if it is not. I am currently rebuilding my Python script to look at a config.ini file for all of the JSD fields since dev and prod JSD have different customfield numbers. My issue though is translating that into the properties when accessing the field in JSD.
So before I added the config file I would have something like this
var1 = issue.fields.customfield10000
But now with a config.ini file handling all of the custom fields I have something like this, with DEV being one of my sections in the ini file.
config_data = config['DEV']
var1 = issue.fields.config_data:['item']
But with this, I receive an error saying config_data is not part of the property. Basically saying config_data could not be found in the fields.
So what do I do here exactly? I am not a python dev exactly, I just write a few things here or there for my team so really hoping someone could help me out.
Thank you!
Hi @Cory Cigas
would you mind sharing your code, to better understand the setup?
To be honest, I guess you will be more successful asking this question on stack overflow, as it is not quite a JSM problem, but I will try to help anyway.
I had to use the following to get it done.
issue.get_field.config_data[‘item’]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.