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 vote

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

235 views 1 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