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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Josh Frank
Posted Apr 04, 2018 in Portfolio for Jira

Factom: Portfolio for Jira case study

Recently, as part of a   series of Portfolio for Jira case studies, we spoke with Carl DiClementi, Director of Product Management at   Factom   about how he uses Portfolio for Jira. In...

1,035 views 5 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