Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

create URL with smart values

I'm trying to create a URL that will populate a custom field.  The URL remains static except for a variable that is contained within another custom field in the issue.  

I'm able to create url properly so that it shows in the log for the rule, however, in usage, the rule will fail with "Operation value must be a string".  Example of what I've used:

2021-10-22_153026.png

3 answers

2 accepted

1 vote
Answer accepted

I've altered the field type from URL to the standard text field.  The UI recognizes the text as a URL and automatically makes it actionable (i.e. user can click on to open new tab/browser for the URL).

1 vote
Answer accepted
John Funk Community Leader Oct 22, 2021

Hi Rob,

What type of field is URL?

What's the relationship of the custom field value to the issue that it is connecting to? 

Can you share more about the rule? Type of trigger? Conditions? etc. 

Sure, the field type is "URL".

Not sure I fully understand the relationship question... but the URL Custom Field (Custom Field 2 - destination) is a custom field in the issue where as Custom Field 1 (source) is in the parent.

Currently, the rule itself is on issue create.  The only condition is that is not an Epic or Story.  The Epic or Story would contain the information as the parent.  I'm currently able to successfully copy the field down to the child from the parent issue when it's going from the custom field 1 to custom field 1 place holders (ie. ChildIssue.CustomField1 is sourced by ParentIssue.CustomField1 on creation).  The rub is when I'm trying to create the URL.  I'm not sure if there is some special way since it's a "URL" type field instead of a "string" but the error states it's expecting a string...

This may help:

2021-10-23_120201.png

John Funk Community Leader Oct 25, 2021

Maybe if you experiment with a regular short text field type instead of a URL field type it might work. 

Like Dave Liao likes this
0 votes

Hi Rob,

I've had a bit of a play around with the URL custom field and copying values from the parent, and everything seems to be behaving as expected.

It might be worth reaching out to our support team as it is possibly something specific to your setup.   We can then have a closer look at your rule and the logs to see what might be happening.

Cheers,
Brydie
[Automation for Jira]

Can you share the rule here?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Work Management

Lessons from Vilius Zigmantas’ path to Continuous Process Improvement at GeoComply

  “Organizations are made of people who create and follow processes which are constantly changing and are in need to be supported and nurtured… this is the spot where I realized I can br...

1,687 views 9 18
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