You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to resolve the Jira task from Grafana oncall using the outgoing webhook. I used the below payload.
But getting above mentioned error.
{
"transition": {
"id": "<TRANSITION_ID>"
},
"fields": {
"resolution": {
"name": "Done"
}
},
"update": {
"comment": [
{
"add": {
"body": "Resolved by Grafana OnCall.",
"public": false
}
}
]
}
}
Have you verified that the resolution field is on the specified transition screen?
@Jack Brickey, Can you guide me to verify what you mentioned if you don't mind? and is there an alternative to resolving the issue without that resolution screen created on the workflow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Pramodh Kumar , are you using Company Managed Project (check in lower left corner of project page) then, assuming that you are an admin, follow the below steps. I am assuming you working with the transition to Done status given your OP.
First try to close a test issue by moving it to Done within the Jira app (not Grafana). Does the Resolution field appear on the screen such that the user can select the desired resolution? If not, once the transition is done, is the resolution actually set? You should see this beside the Done status as a green checkmark followed by "done".
If the resolution field does appear in a popup screen then I'm unsure why it is not working for you.
If the resolution field does appear in a popup screen do the following:
If there is no pop up but Resolution is set then you do not need to include setting the resolution in your webhook.
If there is no pop up and the Resolution is NOT set then ask yourself if it should be set. If it should then add the Resolution field to the Close screen as mentioned above.
Finally, if you are using a Team Managed Project then the resolution will always be set by default and you can remove setting the resolution from your what book..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jack Brickey Thanks for the brief explanation.
So In the Jira app, I don't have a resolution screen and when I select the status to Done, it moves to Done with a green checkmark beside it.
Will check other things and keep you posted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
then you should be able to remove
"fields": {
"resolution": {
"name": "Done"
}
},
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.