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 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...

558 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