I'm trying to copy the Domain name to a custom field every time when the issue is created.Can someone help me with this.
The easiest way to accomplish this would be to use Automation in Jira.
Specifically, you'll want a rule that:
Here's a link to get started with Automation (in case you haven't used it before):
Be aware that there are limits on Automation usage with the Jira Free plan:
In particular, note the 100 "rule executions" per month limit for the Free plan.
_ _ _ _ _ _ _ _ _ _ _ _ _ _
An alternative solution is to set a Post Function on the Create step in the Workflow:
This approach is a bit more hidden, but there is no "execution limitation".
Hi Mykenna,Thanks for the quick response. we don't have a field called Domain, I want to copy the domain from the reporter field to a custom field.
I see. Then the "Workflow - Post Function" approach will not work for that.
Automation can do this, though. You'll do what I mentioned above, but the "Edit Issue" action is just a pinch more complicated.
I created the rule below to test it. This rule copies the assignee email address domain (everything after theĀ @ in the email) to the Description field. You'll want set it to your custom field instead.
I have the action component selected in the rule so you can see the Smart Value notation used to extract the email address and parse out the domain.
Important notes:
Thanks for your response Mykenna.I have tried the automation but I'm getting the error. Please check the attachment for the errors and automation.
And I'm trying to pull the domain from the reporter field, not from the assigned field.
It looks like you're new here. Sign in or register to get started.