Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

"resolution": "Field 'resolution' cannot be set. It is not on the appropriate screen, or unknown."

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
}
}
]
}
}

1 answer

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 21, 2023

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

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 21, 2023

@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:

  1. Click on project settings
  2. select Screens
  3. Select the Close issue screen, edit and add the Resolution field

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..

@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.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 21, 2023

then you should be able to remove 

"fields": {
"resolution": {
"name": "Done"
}
},

Wow, Thank you so much.

It worked.

Like Jack Brickey likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events