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 votes
Accepted answer

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

transition-property.png

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

1 vote
Joseph 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 votes

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,725 views 17 21
Read article

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