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.

cPrime is working on a upstream solution to the problem which will allow API access to update the Parent Link.   Hopefully, something within the FY18Q4 timeframe.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 26, 2018 in Portfolio for Jira

New Portfolio for Jira Getting Started Guide

We've just launched a brand new guide to help you get started with Portfolio for Jira.  This guide is a companion piece to our new demo. The guide walks you through use-cases, best practices an...

236 views 7 4
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