# Access individual Parameters from input (MAP) within decalarative pipeline

**URL:** <https://community.jenkins.io/t/access-individual-parameters-from-input-map-within-decalarative-pipeline/17142>\
**Category:** Using Jenkins\
**Tags:** question\
**Created:** [July 16, 2024, 4:08pm UTC](https://community.jenkins.io/t/access-individual-parameters-from-input-map-within-decalarative-pipeline/17142 "2024-07-16T16:08:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Andy](https://community.jenkins.io/u/Andy)\
**Post date:** [July 16, 2024, 4:08pm UTC](https://community.jenkins.io/t/access-individual-parameters-from-input-map-within-decalarative-pipeline/17142/1 "2024-07-16T16:08:25Z")

</div>

Jenkins setup:

Hi All,

Jenkins: 2.452.1  
OS: Linux - 3.10.0-1160.105.1.0.1.el7.x86\_64  
Java: 11.0.23 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)

I don’t have much knowledge of Jenkins but I’m trying to build a declarative pipeline where I want the build to pause and give the user the need to provide 2 input parameters.

```auto
TAG_PARAMETERS = input id: 'no-tag-provided', 
                    message: "Provide tag details here. The previous version was: ${env.GIT_LAST_TAG}", 
                    ok: 'Continue', 
                    parameters: [
                        string(name: 'TAG_IDENTIFIER', defaultValue: '', description: 'Tag ID'),
                        text(name: 'TAG_DESCRIPTION', defaultValue: '', description: 'Tag Description')
                    ];

```

This is what I get back when I run the build and provide values:

{TAG\_DESCRIPTION=This is a test, TAG\_IDENTIFIER=v1.0.2}

How do I get the values from this map?

Any help would be great as I’ve been scratching my head on this for some time now.

Thanks

Andy

---

<div class="post-metadata">

**Author:** ![mawinter69](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/mawinter69/32/1625_2.png) [@mawinter69](https://community.jenkins.io/u/mawinter69)\
**Post date:** [July 17, 2024, 10:00am UTC](https://community.jenkins.io/t/access-individual-parameters-from-input-map-within-decalarative-pipeline/17142/2 "2024-07-17T10:00:20Z")

</div>

It’s groovy and what you get is a map so e.g. `TAG_PARAMETERS.TAG_IDENTIFIER` should be possible
