Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor

API URL to get KR grades (metric & to do)

Use below endpoint to get KR grades 

  • Syntax - <Jira base URL>/rest/amoeboids-upraise/1.0/okr/keyresult/{ket result id}/getgrades
  • Example -  jira.amoeboids.com/rest/amoeboids-upraise/1.0/okr/keyresult/11/getgrades

This API returns data about KR grades. If KR is deleted or its id is incorrect, relevant message will be displayed. 

Request

KR id is needed as input in the endpoint URL.

Response 

  • Hire a Chief Revenue Officer
  • Increase repeat sales by 7% year on year
ParentParameterTypeDescriptionPossible values

dateTimeFormatStringFormat definition of date fields returned in response.

dateFormatDateFormat definition of date fields returned in response.

keyResultObjectThis object consists of all data points of key result
keyResultidNumberKey result id in UpRaise1, 2, 3, 4, etc
keyResultkeyStringKey result key in UpRaiseKR-1, KR-2, etc
keyResulttypeObjectThis object consists of all data points of key result type in UpRaise
typeidNumberKey result type id in UpRaise 
  • 1
  • 2
typenameStringKey result type name in UpRaise (Only To do & Metric type KRs in UpRaise)
  • Metric
  • Todo
keyResulttitleStringKey result title 
  • Increase CSAT rate from 60%-70% 
  • Complete Jira administration certification by end of this year
keyResultdescriptionStringKey result description 
  • Hire a Chief Revenue Officer
  • Increase repeat sales by 7% year on year
keyResultownerObjectThis object consists of all data points of key result owner
keyResultoriginalValueNumberOriginal value for a metric type key result10,20,20.80, etc
keyResulttargetValueNumberTarget value for a metric type key result50, 500, 52.58, etc 
keyResultcurrentValueNumberCurrent value for a metric type key result25, 52.58,900, etc
keyResultprogressObjectThis object consists of details about current progress of the current key result.
  • percent
progresspercentNumberThis returns the current progress % key result20.0, 50.55. 7.56, etc
keyResultdueDateDateDue date of Key result08/Jan/18
keyResultweightageNumberAny non-decimal number between 0-10 as weight of the key result, in relation to its parent objectiveAny non-decimal number between 0-10
keyResultorderIndexNumberPriority of the current key result as compared to other key results under its parent objective.
  • 1
  • 2
  • 3
  • etc
keyResultlastPunchedInDateDate & time on which this key result was last punched in.08/Jan/18 8:36 PM
keyResulttotalActionsNumberNumber of Jira issue actions in key result 

2, 5,10,12, etc

keyResultgradeApiUrlStringUrl endpoint to retrieve grades associated with this key result.

For example - 

jira.amoeboids.com/rest/amoeboids-upraise/1.0/okr/keyresult/100/getgrades

keyResultgradesObjectThis object consists of details about grades of the current key result.
gradesgradesByObjectThis object consists of details about the user who has provided grades on current key result.
gradesgradesObjectThis object consists of details about grades of the current key result.
gradesgradedOnDateDate on which graded are added in UpRaise04/Jun/19 3:54 PM
gradesgradeNumberGrades given on objective5, 5.5, 7.5, etc
gradescommentStringAny comment added as remark while adding grades
  • Overall progress percentage of the this key result is average. We expected more progress on this. 
  • Good job on this key result, keep it up!


On this page

Table of Contents



In this section

Child pages (Children Display)
pageREST APIs for Objectives & Key Results