Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Is there a way to Update story point using the Request Javascript module?

I am using ACE connect template.

The story point field for my jira project issues is customfield_10040 my updateIssue function does not update the customfield_10040. but if i modify to update summary it does update. When i click on the button no flags shows.

my json scopes is set to admin. Here is my code:

 

function updateIssue() {
AP.request('/rest/api/3/issue/' + document.getElementById("issueKey").value, {
type: "PUT",
data: JSON.stringify({fields: {customfield_10040: document.getElementById("issueSummary").value}}
),
contentType: "application/json",
success: function (response) {
AP.flag.create({title: 'Success', body: "Issue updated", type: 'success'});
},

error: function (response) {
AP.flag.create({title: 'Error updating issue', body: response, type: 'error'});
},
});
}

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events