how to use ofbiz?

H,

how can i use ofbiz to store my data to jira database and read them ?

for create tables, i know that i have to add entity to ofbiz xml files, but i can't find how to use ofbiz (ofbiz delegator) in my action class to store my data to my tables

3 answers

it's not that much hard to work with ofbiz. I can put a sample for you. maybe Jira Development Cookbook (chapter 10:Dealing with database) can help you. I've seen good examples about ofbiz in this book.

OfBizDelegator delegator = ComponentAccessor
.getComponentOfType(OfBizDelegator.class);

for (GenericValue worklog : delegator.findByCondition("Worklog",
condition, null)) {// do something}

0 vote

I assume you're using an older version of Jira?

The correct answer really is for you to upgrade to a supported version of Jira, one with Active Objects support.

thanks Nic,

i'm using jira 3.7 and Unfortunately i can not upgrade to a newer version of jira becouse i customize jira by modifying some jsps that now i can not modify them in newer version again(its very difficult) , so i think using ofbiz is easear than upgrade

Hmm, my memory of OfBiz disagrees with that. It's worth upgrading simply because you are unsupportable and insecure on Jira 3.7, and moving to Active Objects is a LOT easier than OfBiz.

The old bookmarks I had for OfBiz coding have been removed, presumably because they're old and deprecated, so I'm afraid I can't help you.

Hopefully, one of the other people here can help, but I suspect many will also say "just get on and upgrade it". Or google!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,304 views 14 20
Join discussion

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