Trouble with jira.field.resolution.exclude and xxx.include Edited

Our system (Server 7.4.2) is used by a number of teams that added different resolutions which are completely meaningless and even detrimental to the workflow in our team. I've been trying to restrict the resolutions that show up with jira.field.resolution.include as well as jira.field.resolution.exclude.

In my workflow I have a step called "Completed" with "Allow all statuses to transition to this one" checked.

The "All" transition has the "Resolve Issue Screen" set and a property to exclude resolutions: jira.field.resolution.exclude 10200,10100

where the 10200 and 10100 and the id's I can see when I hover of the Edit link for these Resolutions. I tried

jira.field.resolution.exclude 10200,10100

jira.field.resolution.exclude=10200,10100

jira.field.resolution.exclude (10200,10100)

jira.field.resolution.exclude=(10200,10100)

None of them makes a difference. When I click on the Completed button for an issue the Resolve Issue Screen shows up but all resolutions show up, even the ones specifically excluded. 

The same happens when I try to do the jira.field.resolution.include with the values that I want to see. Of course,  I deleted the exclude property first. For some reason neither one seem to have any effect.

I also tried to set up a custom screen instead of using the standard Resolve Issue Screen. Same result--all resolutions in the system show up in the Resolve screen.

Could somebody please provide some guidance on what I might have wrong? This is a really big problem for us.

Thanks in advance for your help!

Karin

 

4 answers

1 accepted

0 vote
Ignacio Pulgar Community Champion Dec 18, 2017

I've tried it like this and it works like a charm:

transition-property.png

Ignacio Pulgar Community Champion Dec 18, 2017

May you ensure the property key doesn't have any leading or trailing whitespaces?

1 vote
Joe Pitt Community Champion Dec 18, 2017

first, I suggest you use the include. When you add new resolutions down the line you won't need to update the list.

Second, try re-indexing. 

Thank you, Joe. That's what I did. That way I'm not subject to changes other people make in the system.

I also reindexed the project and the system, just for good measure.

Thanks again!

0 vote
Alexey Matveev Community Champion Dec 18, 2017

Hello,

Do you publish your workflow after changes?

Hi Alexey,

Yes, workflow is published after changes and project reindexed.

First: Thank you all for the super quick responses and help, Gentlemen!

And I'm blushing to admit that I did have a trailing space. I thought I had checked this but with all the back and forth it must have crept back in.

It's working great now! 

Thanks again and Happy Holidays to you all.

Karin

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you