Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How come a custom field is not sortable in a "Timeline"?

Scott Buratt
Contributor
November 8, 2023

Created a custom "text" field so I can sort in a Jira filter

When adding that custom field to the Advanced Plan, I cannot sort via the field

Shouldn't this work?

I see other custom fields that are allowed to be used in Sorting.

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Joshua Yamdogo @ Adaptavist
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 6, 2018

Hi Pawel,

I don't think you would want to use a behaviour in this scenario. Adding a watcher to an issue doesn't seem like something that needs to be done instantaneously based on what's currently on the Edit form, which is what behaviours are good at. Further, behaviours won't work at all if someone inline edits the field from the View screen.

I think you setting up a Script Listener is what you will want. Listeners are good for what you're trying to accomplish because they don't need to look at the workflow status. For example, you can set up a listener that listens for the Issue Created and Issue Updated events. Whenever someone edits or creates an issue and changes the field value to "Yes", the listener will get triggered. The script you have above would then run to add the user as a watcher.

Does that make sense?

Regards,

Josh

Pawel Rozek
Contributor
November 6, 2018

Thanks, I actually didn't think of that. Great idea

Suggest an answer

Log in or Sign up to answer