Forums

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

Potential Bug, Invalid status still showing on Board view

Arief Halim
April 14, 2023

Background

We want to have a proper view of a workflow, by having 2 transitions:

1. Transition from previous Status (We name it "Don't Use")

2. Transition from any other Statuses (We name it "Closed Lost")

This is the view that what we want:

Screen Shot 2023-04-14 at 23.03.48.png

This is not what we want (there is no explicit arrow to show the flow): 

Screen Shot 2023-04-14 at 22.55.28.png

This is also not what we want (too many arrows):

Screen Shot 2023-04-14 at 23.13.52.png

What We've Done - Transition Condition

Basically, transition #1 "Don't Use", is only used for "displaying an arrow on the workflow view".
So we try to hide this transition from the user, by adding Transition Condition "Always False" or "Hide from Users".

Screen Shot 2023-04-14 at 23.00.51.png

This was working as intended on the issue details view as you can see here, there's only 1 transition available (The #2 transition, since #1 was always set as false):

Screen Shot 2023-04-14 at 23.01.57.png

However, on the board view (when we drag our card), the status is still showing:

Screen Shot 2023-04-14 at 23.06.37.png

 

Question

Can we make the invalid transition on the board view hidden from the user, just like on the issue detail view?

1 answer

0 votes
NielsJ
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 25, 2012

When you run the Script via the script runner you provide a user context (since you are logged in). That is not true for the running service. So you have to login first in your Jelly Script.

http://confluence.atlassian.com/display/JIRA/Jelly+Tags#JellyTags-jiraLogin

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events