Hello,
We are running the cloud version of Jira, and have the Tempo plugin and the Automation for Jira plugin.
Does anyone know how I can copy the value of the Account field (a custom field introduced by the Tempo plugin), from an Epic to all underlying tasks upon a change on the epic?
I did not find that field in the drop down proposed by Automation for Jira and suppose I need to do the copy by means of Jsson.
I made an automation rule and tried the following JSSON code, but got an error when the rule got fired.
{
"update": {
"Account": [
{
"set": {
"value": "{{triggerIssue.fields.Account.value}}"
}
}
]
}
}
Hello Peter,
As mentioned in this answer, It looks like the correct construct is to make the id a string:
{ "fields": { "Account": "234" } }
Can you give it a go and let me know if it works?
This works. But now I need to be able to fetch a long based on the epic's account.
Any idea how to integrate that in my above JSSON?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Found it... Big thanks mate!
{
"fields": {
"Account": "{{triggerIssue.fields.Account.id}}"
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Peter Ebraert @Petter Gonçalves
Now I am trying to create an automation rule, so all the underlying tasks are taking the account name from the related epic.
I tried as follows:
When: Value changes for account
For Linked issues
Then: Edit Issue Fields Account - Account: Copy Account from Epic Issue
However if I set an Account in an Epic no changes appear in the task accounts.
Can you please help me, what rule should I set so our tasks have an account?
Thank you and best regards,
Gabriella
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.