I want to use condition using automation to check the issue for particular project and workflow for the further transition so how can I get the name or id of a workflow and how can I compare that value.
Hi @Rai, Jagrit
Although I'm not quite sure what you want to accomplish, the only thing that you can acquire using smart values is the status. So if you use the changelog smart value (https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#:~:text=the%20Jira%20instance.-,%7B%7Bchangelog%7D%7D,-Used%20with%3A ) you can get e.g. the previous status of the issue by writing:
{{#changelog.status}}{{from}}{{/}}
to get the status id OR if you want to get the status name you write:
{{#changelog.status}}{{fromString}}{{/}}
Let me know if the above helps.
How can i get workflow name or id for the issue using smart values
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rai, Jagrit using smart values you can't get the workflow name or id.
You might be able to get the both of them values, by using a webhook inside your rule and using REST API, but I haven't really tried it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.