- edited description
Create condition that checks project key matches string?
I have a workflow used by two projects and I have a transition I only want to be available in one of the projects.
I made a "Check project property" condition which didn't work the way i expected.
So then i read and saw I needed to add a project property to the project description and then I edited the condition to:
Which works but isn't ideal. Is there a better way to accomplish this that doesnt require having a property line in the project description field?
Comments (6)
-
reporter -
reporter - edited description
-
repo owner Hi Will,
At this moment this is the way project properties are implemented. I have the intention to provide an alternative implementation where project properties are hidden.
Let's keep this issue open until the improvement is implemented.
Regards,
Fidel
-
repo owner There is a possible solution if keeping project description clean is a priority for you:
Use "Boolean condition with math, date-time or text-string terms" with an expression like this:
In the example, the transition will be shown only in issues belonging to projects with keys PTD, CRM or ICX.
Note that %{00018} is field code for "Project key".
This solution requires to edit the workflow each time you want to include a new project.
-
reporter Of course! Thank you!
-
reporter - changed status to closed
- Log in to comment