Hi,
Is there a smart value for jira automation to check/condition for workflow, workflow scheme or screen?
Hello @Joel Batac
Can you tell us about the problem you are trying to solve where you would need that information?
I'm trying to automate this https://okapya.atlassian.net/wiki/spaces/CHKDOC5/pages/3236626557/Import+a+template+on+issue+creation
and I want to apply this to projects using template (same workflow or screen scheme).
My problem is projects in template are huge and constantly changing (offboarding and onboarding). Instead of applying the rule for each project, which is not feasible. I want to apply to something (via if condition) projects in template have all in common.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Per this post
...an answer from @Ivan Tovbin suggests using this API to get the workflow scheme associated with a specific project.
/rest/projectconfig/1/workflowscheme/{projectIdOrKey}
I tried that against Data Center v8.16.1, and it worked with a Project Key but not the Project ID (numeric).
You would have to use a Send Web Request action to execute that REST API call and then parse the results to find the Workflow Scheme name (or ID).
The rule would need to be a Global rule if you want to run it against all projects without explicitly listing the projects against which it would run.
If you have Work Management and Service projects on the same instance, and you want this to apply only to Software projects then you might want to add a Condition early in the rule to check the Project Type.
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.