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


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


2 answers

1 accepted

1 vote
Accepted answer

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 vote
Joseph 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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,090 views 4 9
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