Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • can't change display of 'view issue screen' by writing javascript in field's 'Field Description'

Why does the Board allow me to drag issues to any column, despite the workflow?

Chris Roberts
November 25, 2021

I am returning to Jira after a few years away... I have setup a new project and setup a custom Workflow (which I have published).

On the Board I now see columns for each of my new statuses, and I have created a new issue.

However, I appear to now be able to drag and drop that issue from its current column all the way over to "Done" (for example) even though there is no workflow transition setup between the two columns.

In fact, I seem to be able to drag the issue from any column to any other column regardless of how I've setup the workflow.

I'm assuming I should only be able to drag it to columns which represent statuses that have a transition between them?

Update:

I've just noticed that when I'm dragging an issue from one column to another, it's not actually updating the status of the issue... But if I open the issue and use a transition to change the status, it both updates the status and moves the card to a different column.

1 answer

1 accepted

0 votes
Answer accepted
Renjith Pillai
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.
January 4, 2013

Try this in the announment banner.

<script type='text/javascript'>
AJS.$(document).ready(function() {
        AJS.$("#description-val").css("color", "red");
   }
);
</script>

fabby
Contributor
January 4, 2013

hi, Renjith

i tried your code,it has no effect for 'view issue screen',but useful for 'edit issue screen' or 'create issue screen'

and [Try this in the announment banner.] where is the [announment banner]? i just paste the code to field description

Renjith Pillai
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.
January 4, 2013
fabby
Contributor
January 5, 2013

Renjith,

thanks very much !

Suggest an answer

Log in or Sign up to answer