where will the versiontype customfield value be stored in DB ?

I need to get value of VersionType Customfield. I tried node association and Customfield tables.No luck.

2 answers

1 accepted

select * from customfieldvalue where CUSTOMFIELD = <id>;

To identify the custom field ID:

  1. Go to Administration > Custom Fields
  2. Click on the "Configure" link for the VersionType custom field 
  3. In the URL of the Configure Custom Field page, note the number after "customFieldId=" and append it to the query.

Argh,

i was trying for ,

select * from customfieldvalue where id = <id>;

Thanks a lot.

Glad to help. Cheers!

Hi Shamith

 

select * from customfield where CUSTOMFIELDTYPEKEY = 'com.atlassian.jira.plugin.system.customfieldtypes:multiversion'
select * from customfield where CUSTOMFIELDTYPEKEY='com.atlassian.jira.plugin.system.customfieldtypes:version'

 

Hope this helps

vpcf.PNG

 

 

Regards

Chander Inguva

Hi Chander,

Thanks. But i need customfield value for a versiontype field.

I think the answer provide by me gives you keys to the door. All you should do is query customfield value table using customfield table. It should be easy

SELECT * FROM customfieldvalue WHERE ID = <customfieldID>

I already did that. and i didn't find it in customfieldvalue table.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,138 views 6 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot