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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issues Done but Unresolved Edited

Hi,

 

I have a lot of issues in Done status but with resolution field Unresolved.

I have to make a script using Jira API to fix this bug to change their resolution field to Resolved.

I tried to do it with a put request but it doesn't work and I can't do it with a transition because status is already Done.

 

Thank you

3 answers

1 vote
Joe Pitt Community Leader Jan 07, 2020

The definition of the Done column should include the resolution field being filled in. In conjunction with that the transition to whatever status you are using for done must either present a transition screen with the resolution field for the user to set or a post function to set the resolution field. You need to fix your workflow.

You have two options to fix the current issues; 1. create a transition from from the done status back to the done status with a transition screen to set the resolution or 2. Tell everyone not to use the project, or apply a permission scheme where only you have permission to the project, add the resolution field to the edit screen and use the bulk edit option to fix the resolutions. Then REMOVE the resolution field from the edit screen and apply the old permission scheme. 

ScriptRunner has a built-in script to bulk change resolutions.  You could use this add-on under a free trial if you don't already have it.

Or, as another member has already said, create a new transition from the existing state back to itself, which automatically sets the resolution.  When you've done the bulk transition and fixed your problem, you can delete the transition.

Hi @michaeldemadet 

You can also create a temporary transition in the workflow of the project. Make the transition go from 'Any' to 'Itself' and then add a post function to it that sets the resolution.

Go to search for issues and list all the closed issues that have no resolution, in the top right, click on the three dots and choose bulk change. Then select all issues and choose transition issues. Select your temporary transition and perform the bulk change.

Kind regards
Jorden

 

anyitself.PNG

Suggest an answer

Log in or Sign up to answer
TAGS

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