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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

set hidden custom field value using url param

I have a link to my portal in my website, I am fully able to customize the href that is being forwarded to the portal. I want to pass a url parameter to give value to a custom field that is hidden from the request view (the field is either added and hidden with a value that could ideally be changed by the param in the url OR not added as a field to the request type and just written to if it works that way).

Imagine we have

https://...PORTAL-LINK.../...?customfield_10050=Elli&customfield_10051=123

Let's say that customfield_10050 is something called Name and it is not a hidden field on the request. The request form now has the Name field filled in with 'Elli'.

Now, imagine that customfield_10051 is a field called Age, and it is not polite to show the age so we are hiding this field on the request, (in order to hide a field you must put in a value for that field. I put in 0 as the required value), We have the ability to pass it in the url so that the user doesn't have an actual block in the form called 'Age' and see that Elli is 123. It would be information only the agent could see on the support desk ticket view.

 

When I test this whole thing out, the ticket that gets created shows that Age is 0 which would mean that the param does not work to write over the existing information (or that I am writing it wrong). 

 

The other option I explored is not including the field (Age) in the request/form at all, and just writing to it from the url anyway. 

 

I was also unable to get this to work. 

 

There was one test I conducted where this hidden parameter successfully was set by my url parameters, but I am unsure what was different about that test (and cannot seem to recreate it) and am hoping for some clarity.

 

Thank you in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

162 views 0 4
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