Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

"api is not defined" when opening Program scope



After updating to JIRA (from 7.8.0 to 7.8.1) and Portfolio (to 2.13.1) I have started getting an error when I open the "Scope" tab of the program (when I open the program's "Schedule" tab - it works fine). Tried in different browsers (Chrome, Firefox).

The error title is "api is not defined", and the description is the following:


api is not defined

ReferenceError: api is not defined
at (
at (
at f.initialize (
at f.s.Controller (
at f.e [as constructor] (
at f.i [as constructor] (
at new f (
at p.initialize (
at p.s.Controller (

=== Client Info ===

User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Local time: Wed May 16 2018 15:47:48 GMT+0200 (CEST)

=== Plugin Info ===

Plugin build: 2.13.1

=== System Info ===

Jira Title: JIRA
Jira Version: 7.8.1
Agile Version: 7.8.0-DAILY20180223110622



Is it a known issue of Portfolio 2.13.1? I could not find it in the bug-tracker, the most relevant issue I could find is this one:


Best regards,


1 answer

1 accepted

1 vote
Answer accepted
Thomas Atlassian Team May 16, 2018

Hi @Sergey Tcherednichenko!

It doesn't seem to be a known issue indeed, could you reach out to support ( It will help us gather the needed information to solve this issue as I did not manage to reproduce it.




Hi @Thomas,

Thank you! I have raised a ticket and attached logs + screenshots.

Best regards,


Just in case if anyone else would face something similar - the problem was in the custom numeric field configured in the Program.

Here is the issue created for this bug:

Like Denis Tsybulin likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

213 views 1 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you