Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to update a numeric field if an issue is linked to another isse.

I am looking for a way to tally the number of links for a particular issue, issue "A". As a step to resolve the problem, I want to update a field in "A" if automation identifies that an issue is linked to it.

I'm able to get automation to recognize the existence of a linked issue using the "For Linked issues" option.  By my reading of the documentation, the following edit should update issue A:

{
"Update": {
"{{triggerIssue.fields.testNumericField3}}": 1
}
}

However, I get an error:

"No fields or field values to edit for issues (could be due to some field values not existing in a given project):"

I've used customField_nnnnn instead of the field name, but that does not work either.

 

 

 

 

 

 

 

1 answer

@Mark Hanson 

Hello, Thanks for writing to us.

Maybe you can use "Edit Issue" action where simply you can select field("testNumericField3") from dropdown and set its value to like this:

{{issue.issuelinks.size}}

instead using json(which is wrong in your case, details on using update here), which should count total linked issues of all types and set in your custom field.

Or if this does not resolves the concern please share details on how you are planning your rule and your use case. Maybe I will be able to assist better. 

 

Cheers
Sherry

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

232 views 3 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you