Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to hide a transition after executed once.

I have transition which go from A to A ( A -> A). This transition generate some Attachments and I don't want people to be able to generate them more than one time. Is there any way besides creating a custom field and manipulating it, to do this? Because these solution is ugly for long maintenance. 

  

2 answers

Hi @Rafal_Poplawski ,

Welcome to Atlassian Community !

You will be able to configure this with the help of Condition for the transition and the condition is provided by JSU automation Suites for Workflows.

Please follow below steps for configurations and condition is working for your requirement.

1. Edit the workflow and select the target transition and add Condition called JQL Condition

jsu 01.png

2. Add Below JQL statement and select to compare the value to 0.

key = {issue.key} AND status changed TO "A"

jsu 02.png

3. Publish the workflow.

 

So basically this condition checks that whether issue is changed to status A previously or not. If it is not changed then it allows transition or if it is changed then transition will be hidden.

Hope this will help you.

Thanks,

Avinash 

Hi @Avinash Bhagawati _Appfire_  It would be great, but i don't have this condition in my conditions list. Conditions.PNGDo i have to do something, to have this condition?

Hi @Rafal_Poplawski ,

You need to have latest version of JSU Automation Suite for Jira Workflows for Jira app. From screenshot it looks like you are using old version of app , can you please update JSU Automation Suite for Jira workflows above 2.15.0.

The JQL condition is present app version higher than 2.15.0.

To update app please follow the steps mentioned here.

Thanks,

Avinash

Hey @Avinash Bhagawati _Appfire_ 

 

I tried your solution, but the workflow is still visible

The transition doesn't lead to any status in my case

I guess if you can say from the attachment's name/format that it was automatically generated, you can check for it in a condition (scriptrunner is able to do it, for example, and other script plugins might be as well)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

378 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you