Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,226
Community Members
 
Community Events
176
Community Groups

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

0 votes

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

Atlassian Community Events