Updating the Jira Portfolio custom fields via API

I am building out a SAFe deployment with Portfolio based on the following hierarchy:

Portfolio Epic

     Capability

          Feature

I want to do a bulk upload into the various levels, but I want to automate the process to update the links without having to update 50+ features manually.   After updating manually, I noted the updated custom fields 19870 and 19753 as being updated to match the parent.   When I try to update the fields via API, one comes back with "not on the appropriate screen" and the other results in "internal server error".

issue.update(fields={'customfield_19870': 'GISCAP-11'})
issue.update(fields={'customfield_19753': 'GISCAP-11'})

I know at least one of the custom fields is locked.   Is there an easy API based way around this restriction?   What changes need to be made in order for API based updates to be successful?   The manual options is not an option based on the volume, plus the potential for human error goes up pretty quickly as the user gets bored.

1 answer

0 vote

Hi David,

 

At this time there is no official Portfolio API published.  There are a few open Suggestions to Implement a REST API for JIRA Portfolio:

JPOSERVER-438 - Implement a REST API for JIRA Portfolio

JPOSERVER-1814Publish Portfolio for JIRA Java API

Please vote on both of these and add your use case to the notes to add impact.

 

Cheers,

Branden

Thanks.   Posted a comment to JPOSERVER-438 looking a potential workaround.

Suggest an answer

Log in or Join to answer
Community showcase
Josh Frank
Posted Dec 01, 2017 in Portfolio for Jira

Portfolio for Jira: Share your tips!

The Portfolio for Jira team wants to hear from you. Share your top tips for building a great Portfolio for Jira plan for a chance to win some Atlassian swag.  Do you structure your teams i...

568 views 6 8
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