Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automation not setting the value of a Hyperlink field

I've been playing with the new automation templates and have made a small edit to the 'When an idea is created -> create a corresponding confluence page' such that it updates a field on the same ticket to reference the page it has just created.

The audit log says that it has run correctly but the field does not get updated :(

I have tested the new rule component by instead adding a comment that holds the url and that works just fine.

Does not error but does not set the field value:

SCR-20231026-jryi.png

The field is a hyperlink field so does expect a valid url but my comment test does show it to be a valid value that I am trying to save

Any help would be appreciated.

3 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted

Well that's weird. It has just started working!

Perhaps the Jira angels were watching this community board and fixed the issue in real time :D

0 votes
Omer Meshar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 26, 2023

@Peter James I just tried it out myself, and it worked, including setting the hyperlink field:

JPD222.png

0 votes
Chris Timms
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 26, 2023

Hi @Peter James

I have a rule I used pre-template that works the same way. I don't have a solution to your issue but I can validate what you have set up should be working.

q.png

Does your automation actually create the confluence page and add the comments? Or is it only adding the URL to the JPD issue that fails?

The automation creates the page from the template just as I hoped - although it doesn't add the labels - would love an answer to that if anyone has one!

The addition of the comments works just as I expected and the value from {{createdPage.url}} is a valid url.

It is just the editing of the hyperlink field with the url that does not work. It doesn't fail - the audit log says that it was successfully run, it is just that the field appears to still be empty.

When I first tried to set the field with just the value {{createdPage}} the rule step did fail - as noted in the audit log - since the value was not a valid url and so not a valid value for a hyperlink field. 

TAGS
AUG Leaders

Atlassian Community Events