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.
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
2. Add Below JQL statement and select to compare the value to 0.
key = {issue.key} AND status changed TO "A"
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. Do i have to do something, to have this condition?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.