Fill parent link field by api or script

We build up a issue type hiearchy with linking three types by our own. The three types are Project - Change Requests - Task. We are using two link types. Now we decide to use portfolio. But we don't want to change our current kind of how we build our hierachy.

We evalutate options how to 'syncronize' portfolio (using parent link) and our kind of relationship functionality. 

For instance, we create a new issue and link that to an existing one. This hierachy (by linking) will not recognized by portfolio, so we need to fill in the parent link field (from portfolio) too. 

Is it possible to fill in the parent link field without being at portfolio view and (re)do it manually?

Thanks in advance

Thomas

1 answer

0 votes
Tarun Sapra Community Champion Jun 07, 2017

Hello Thomas,

It's a custom field, you can add it on the "edit screen" of the issue and manually enter the issue key from drop-down that appears. 

This, should also be doable using REST APIs as it's a custom field and if you note down the cusotm field id then you can update it via REST API.

https://confluence.atlassian.com/jiraportfoliocloud/showing-portfolio-custom-fields-in-jira-software-856708725.html

https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-edit-issues 

Thank you very much, but we found out that this field have a custom format which prevents from updating via mentioned ways.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked 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...

1,068 views 7 5
View question

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