Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bulk Clone Professional integration to Jira Portfolio

Good Evening
My name is Lars Broden and I am the Product Manager for the Bulk Clone 3:rd Party plugins which is on Atlassian Marketplace

https://marketplace.atlassian.com/apps/1213028/bulk-clone-professional-for-jira?hosting=datacenter&tab=overview
https://marketplace.atlassian.com/apps/1210727/bulk-clone-basic-for-jira?hosting=datacenter&tab=overview

We have some customers of our plugin Bulk Clone Professional that is also using Jira Portfolio and would like to BulkClone "Child Issues" and as a result would like to have the "Parent Link" field migrated to the cloned parent issue in case they want to clone a parent issue and it's child issues.
In order to accomplish this we need to be able to edit the "Parent Link" custom field value from Java, from our research so far it seems that the value for the field is a custom Portfolio object (not an IssueImpl object)?,  and we cannot update the value of the field as a consequence of this.
Is there a way we could do this from Java?,  The "Epic Link" field for example stores an IssueImpl object as it's value and that type is available in the API and we can edit values for it. Could you guide us in the right direction? 

The way we try to set the value is via "field.updateValue(obj1, obj2,...)"

Would appreciate a quick feedback on this as we have clients awaiting an imminent release supporting this and we are currently stuck/blocked to proceed

Best Regards
Lars Broden
LB Consulting Group AB
Moible: +46 (0) 709 56 58 43

1 answer

0 votes
Thomas Atlassian Team Oct 07, 2019

Hi @Lars Broden ,

Portfolio Parent Link information is stored in the issue properties (see entity_property table) that is accessible via the Jira REST and Java API (e.g. https://developer.atlassian.com/server/jira/platform/entity-properties/)

The issue property is essentially a JSON blob that may contain multiple values (this is the case for Portfolio) so be sure not interfere with those, depending on how you interact with those values.

Also, those fields require to be in the Jira Lucene index so depending on how the issue gets modified, be sure it gets re-indexed!

 

Cheers,

Thomas

Thanks, Thomas, we will try this and see if it will work

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

835 views 2 22
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you