How to modify the way that JIRA uses to decide when to cross out an issue's link

Hello, 

I have an issue type whose workflow lets the users to re-open issues once they have been closed and solved.

At the moment of closing, the user sets field "Resolution" as "Solved" or "Unsolved". From then on, any link to that issue appears crossed out. But, if in that state, the user reopens the issue, for any reason, the field "Resolution" continues being filled, and so, any link to that issue continues being crossed out. But, this is not our desired behavior.

The question, therefore, is the next: Is there a way to modify the condition that JIRA uses to cross out the links to the issues? If there is, I will modify adding the condition "Issue's current state is Closed".

Thanks.

2 answers

1 accepted

1 votes

Absolutely not.  The rule is simple (resolution is filled = strikeout), but the logic behind it is embedded in code all through the entire system.  You'd have to rewrite quite a significant swathe of the core code, and a lot of addons.

What you should do is simple - edit the workflow, adding a "set resolution to 'none'" post function on any transition that takes the issue out of a "closed" status into an "open" type one.  There's an example on the default JIRA workflow that is built in (and read only)

1 votes
Joe Pitt Community Champion Oct 05, 2015

You'd have to go in and modify base code. Bad idea. Any time an issue is reopened you should CLEAR the resolution field with a post function. If you do that the issue won't be crossed out any more. The history will show the past resolution.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,965 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot